ChartDirector Ver 5.0 (PHP Edition)

Class Library

This section describes the core ChartDirector classes.

phpchartdir

phpchartdir is the PHP module for interface with ChartDirector. It includes all ChartDirector classes, general informational functions and predefined constants.

Fundamental Classes

Class | Description
--- | ---
Box | The Box class represents boxes. It is used as the base class for more complex classes (such as the TextBox class).
TextBox | The TextBox class represents text boxes. It is a subclass of Box.
Line | The Line class represents straight lines.

General Charts

Class | Description
--- | ---
BaseChart | The BaseChart class is an abstract class containing methods that are common to all chart types.
MultiChart | The MultiChart class represents multi-charts. A multi-chart is a container to contain multiple charts. MultiChart is a subclass of BaseChart.
LegendBox | The class LegendBox represents legend boxes. It is a subclass of TextBox.

Pie Charts Related

Class | Description
--- | ---
PieChart | The PieChart class represents pie charts. It is a subclass of BaseChart.
Sector | The Sector class represents sectors.

XY Charts Related

Class | Description
--- | ---
XYChart | The XYChart class represents XY charts. The XYChart class is a subclass of BaseChart.
PlotArea | The PlotArea class represents plot areas in XY charts.
Axis | The Axis class represents x and y axes in XY charts
ColorAxis | The ColorAxis class represents the color axis in contour layers and surface charts. ColorAxis is a subclass of Axis.
Mark | The Mark class represents mark lines. It is a subclass of TextBox.
Layer | The Layer class is the base class for all XYChart layer classes.
BarLayer | The BarLayer class represents bar layers. BarLayer is a subclass of Layer.
LineLayer | The LineLayer class represents line layers. LineLayer is a subclass of Layer.
SplineLayer | The SplineLayer class represents spline layers. SplineLayer is a subclass of LineLayer.
StepLineLayer | The StepLineLayer class represents step line layers. StepLineLayer is a subclass of LineLayer.
TrendLayer | The TrendLayer class represents trend layers. TrendLayer is a subclass Layer.
InterLineLayer | The InterLineLayer class represents interline layers. InterLineLayer is a subclass of Layer.
ScatterLayer | The ScatterLayer class represents scatter layers. ScatterLayer is a subclass of Layer.
AreaLayer | The AreaLayer class represents area layers. AreaLayer is a subclass of Layer.
BaseBoxLayer | The BaseBoxLayer class is the base class for layers that uses isolated symbols to represent multiple data sets. These include BoxWhiskerLayer, HLOCLayer and CandleStickLayer. BaseBoxLayer is a subclass of Layer.
HLOCLayer | The HLOCLayer class represents high-low-open-close layers. HLOCLayer is a subclass of BaseBoxLayer.
CandleStickLayer | The CandleStickLayer class represents candlestick layers. CandleStickLayer is a subclass of BaseBoxLayer.
BoxWhiskerLayer | The BoxWhiskerLayer class represents box-whisker layers. BoxWhiskerLayer is a subclass of BaseBoxLayer.
VectorLayer | The VectorLayer class represents vector layers. VectorLayer is a subclass of Layer.
ContourLayer | The ContourLayer class represents contour layers. ContourLayer is a subclass of Layer.
DataSet | The DataSet class represents data sets.

Surface Charts Related

Class | Description
--- | ---
SurfaceChart | The SurfaceChart represents surface charts. The SurfaceChart class is a subclass of BaseChart.
Axis | The Axis class represents x and y axes in XY charts
ColorAxis | The ColorAxis class represents the color axis in contour layers and surface charts. ColorAxis is a subclass of Axis.

Polar Charts Related

Class | Description
--- | ---
PolarChart | The PolarChart class represents polar charts (including radar charts). The PolarChart class is a subclass of BaseChart.
RadialAxis | The RadialAxis class represents radial axes in polar charts. The radial axis is the axis representing the radius component of a polar coordinate.
AngularAxis | The AngularAxis class represents angular axes in polar charts. The angular axis is the axis representing the angular component of a polar coordinate.
PolarLayer | The PolarLayer class is the base class for all PolarChart layer classes.
PolarLineLayer | The PolarLineLayer class represents polar area layers. PolarLineLayer is a subclass of PolarLayer.
PolarAreaLayer | The PolarAreaLayer class represents polar area layers. PolarAreaLayer is a subclass of PolarLayer.
PolarSplineLineLayer | The PolarSplineLineLayer class represents polar spline line layers. PolarSplineLineLayer is a subclass of PolarLineLayer.
PolarSplineAreaLayer | The PolarSplineAreaLayer class represents polar spline area layers. PolarSplineAreaLayer is a subclass of PolarAreaLayer.
PolarVectorLayer | The PolarVectorLayer class represents polar vector layers. PolarVectorLayer is a subclass of PolarLayer.

Pyramid Charts Related

Class | Description
--- | ---
PyramidChart | The PyramidChart class represents pyramid charts (including cone charts and funnel charts). The PyramidChart class is a subclass of BaseChart.
PyramidLayer | The PyramidLayer class represents a layer in a pyramid

Meters and Gauges

Class | Description
--- | ---
BaseMeter | The BaseMeter class is the base class of all meters in ChartDirector.
AngularMeter | The AngularMeter class represents angular meters. AngularMeter is a subclass of BaseMeter.
LinearMeter | The LinearMeter class represents linear meters. LinearMeter is a subclass of BaseMeter.
MeterPointer | The MeterPointer class represent meter pointers in both angular and linear meters.

Finance Charts Related

Class | Description
--- | ---
FinanceChart | FinanceChart is a powerful financial charting library built on top of the main ChartDirector library. It extends MultiChart by implementing many financial indicators, and allowing complex financial charts to be composed easily.

Graphics Primitives

Class | Description
--- | ---
DrawArea | The DrawArea class represents drawing surfaces, with methods for performing graphics primitives (such as drawing lines, shapes and texts) and the surfaces.
TTFText | The TTFText class represents text blocks.

Utility Classes

Class | Description
--- | ---
ArrayMath | The ArrayMath class is a utility class used to perform array computations.
RanTable | RanTable is a utility class to produce tables with random numbers.
FinanceSimulator | FinanceSimulator is a utility class to produce random data that looks like financial data series.

© 2009 Advanced Software Engineering Limited. All rights reserved.