ChartDirector 6.2 (.NET Edition)

BaseMeter.addPointer


Usage

[C#] public MeterPointer addPointer(double value [, int fillColor [, int edgeColor ]]);
[VB] Public Function addPointer(value As Double [, fillColor As Integer [, edgeColor As Integer ]]) As MeterPointer

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.