ChartDirector 6.0 (Perl Edition)

BaseMeter.addPointer


Usage

addPointer(value [, fillColor [, edgeColor ]])

Description

Adds a pointer to the meter.

Note: For angular meters, there is another method AngularMeter.addPointer2 for adding new style pointers.

Arguments

ArgumentDefaultDescription
value(Mandatory)The value that the pointer points to.
fillColorLineColorThe fill color of the pointer.
edgeColor-1The edge color of the pointer. -1 means the edge color is the same as the fill color.

Return Value

A MeterPointer object representing the pointer. You may use this object to fine-tune the appearance of the pointer.