ChartDirector 7.1 (C++ Edition)

BaseMeter.addPointer


Usage

MeterPointer *addPointer(double value, int fillColor = LineColor, int edgeColor = -1);

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.