ChartDirector 6.0 (Ruby Edition)
MeterPointer.setShape
Usage
Description
Constant | Value | Description |
---|---|---|
DiamondPointer | 0 | The blue pointers in the meters above. |
TriangularPointer | 1 | The purple pointers in the meters above. |
ArrowPointer | 2 | The red pointers in the meters above. |
ArrowPointer2 | 3 | The yellow pointers in the meters above. |
LinePointer | 4 | The green pointers in the meters above. |
PencilPointer | 5 | The grey pointers in the meters above. |
Arguments
Argument | Default | Description |
---|---|---|
pointerType | (Mandatory) | One of the predefined pointer shape constants to specify the pointer shape to use. |
lengthRatio | NoValue | The length ratio to be applied to the pointer. NoValue means the lengthRatio is not modified. The default is 1.0 for angular meters and 0.75 for linear meters. |
widthRatio | NoValue | The width ratio to be applied to the pointer. NoValue means the widthRatio is not modified. The default is 1.0. |
Return Value