ChartDirector 5.1 (PHP Edition)
LinearMeter.setMeter
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
leftX | (Mandatory) | The x-coordinate of the top-left corner of the meter plot area. |
topY | (Mandatory) | The y-coordinate of the top-left corner of the meter plot area. |
width | (Mandatory) | The horizontal width of the meter plot area. |
height | (Mandatory) | The vertical height of the meter plot area. |
axisPos | Left | The position of the meter scale. The scale should be on one of the 4 sides of the plot area border, specified by Left, Top, Right and Bottom. |
isReversed | false (zero) | By default, if the meter is horizontal, the meter scale will run from left to right. If the meter is vertical, the meter scale will run from bottom to top. If this argument is set to true (non-zero), the meter scale will be reversed. |
Return Value