ChartDirector Ver 4.1 (ColdFusion Edition)
VectorLayer.setVector
Usage
Description
Constant | Value | Description |
---|---|---|
PixelScale | 0 | The unit is measured in pixels. |
XAxisScale | 1 | The unit is measured in x-axis scale. |
YAxisScale | 2 | The unit is measured in y-axis scale. |
Arguments
Argument | Default | Description |
---|---|---|
lengths | (Mandatory) | An array of numbers representing the lengths of the vectors, in unit as specified in the lengthScale argument. |
directions | (Mandatory) | An array of numbers representing the direction of the vectors as a clockwise angle in degrees, where 0 is upward pointing direction. |
lengthScale | PixelScale | The unit for the lengths, which must be one of the predefined constants in the table above. |
Return Value