ChartDirector 7.0 (Perl Edition)
Class Library
Important Notes to Perl Developers
Many ChartDirector APIs accept array of numbers or strings as arguments. However, in Perl, it is impossible to use arrays as function call arguments without losing their structure. So in this documentation, all functions or methods that accept arrays actually means "array references" in Perl. Similarly, functions or methods that return arrays actually means "array references" in Perl. |
perlchartdir
Fundamental Classes
General Charts
Class | Description |
---|---|
BaseChart | The BaseChart class is an abstract class containing methods that are common to all chart types. |
ThreeDChart | The ThreeDChart class is an abstract class containing methods that are common to all true 3D chart types. ThreeDChart is a subclass of BaseChart. |
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. LegendBox is a subclass of TextBox. |
Pie Charts Related
XY Charts Related
Class | Description |
---|---|
XYChart | The XYChart class represents XY charts. It 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. Mark 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. The BaseBoxLayer class 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 class represents surface charts. SurfaceChart is a subclass of ThreeDChart. |
3D Scatter Charts Related
Class | Description |
---|---|
ThreeDScatterChart | The ThreeDScatterChart class represents 3D scatter charts. ThreeDScatterChart is a subclass of ThreeDChart. |
ThreeDScatterGroup | The ThreeDSCatterGroup class represents a group of scatter symbols in a ThreeDScatterChart object. |
Polar Charts Related
Class | Description |
---|---|
PolarChart | The PolarChart class represents polar charts (including radar charts). PolarChart is a subclass of BaseChart. |
RadialAxis | The RadialAxis class represents radial axes in polar charts. RadialAxis is a subclass of Axis. |
AngularAxis | The AngularAxis class represents angular axes in polar charts. |
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). PyramidChart 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. BaseMeter is a subclass of BaseChart. |
AngularMeter | The AngularMeter class represents angular meters. AngularMeter is a subclass of BaseMeter. |
LinearMeter | The LinearMeter class represents linear meters |
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
Utility Classes
Class | Description |
---|---|
ArrayMath | The ArrayMath class is a utility class used to perform array computations. |
RanSeries | RanSeries is a utility class to produce random series. |
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. |