ChartDirector 5.1 (PHP Edition)
LineLayer.setSymbolScale
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 |
---|---|---|
zDataX | (Mandatory) | The sizes of the symbols at the x-axis direction, expressed using the unit defined by the scaleTypeX argument. |
scaleTypeX | PixelScale | The unit for zDataX, which must be one of the predefined constants in the table above. |
zDataY | [Empty_Array] | The sizes of the symbols at the y-axis direction, expressed using the unit defined by the scaleTypeY argument. An empty array means the sizes at the y-axis direction are the means as the sizes at the x-axis direction. |
scaleTypeY | PixelScale | The unit for zDataY, which must be one of the predefined constants in the table above. |
Return Value