ChartDirector 7.0 (ASP/COM/VB Edition)
addPointer2(value, fillColor [, edgeColor [, pointerType [, startOffset [, endOffset [, widthRatio ]]]]])
Adds a new style pointer to the meter.
When compared to classical pointers (added by BaseMeter.addPointer
), new style pointers are thinner. They are designed to be used with the new style meter cap (see AngularMeter.setCap2
). They are also designed to have their base and tip movable in the radial direction, which means they can be detached from the center, and can even points from the outside inwards.
|value||(Mandatory)||The value that the pointer points to.|
|fillColor||(Mandatory)||The fill color of the pointer.|
|edgeColor||-1||The edge color of the pointer. -1 means the edge color is the same as the fill color.|
|pointerType||TriangularPointer2||The pointer shape. Please refer to MeterPointer.setShapeAndOffset for the available shapes.|
|startOffset||NoValue||The distance between the starting point of the pointer with the meter center, expressed as a ratio to the scale radius. NoValue means the radius is automatically determined. Please refer to MeterPointer.setShapeAndOffset for more information about this argument.|
|endOffset||NoValue||The distance between the ending point of the pointer with the meter center, expressed as a ratio to the scale radius. NoValue means the radius is automatically determined. Please refer to MeterPointer.setShapeAndOffset for more information about this argument.|
|widthRatio||NoValue||The width of the pointer relative to the default width. NoValue means the width is automatically determined.
object representing the pointer. You may use this object to fine-tune the appearance of the pointer.
© 2021 Advanced Software Engineering Limited. All rights reserved.