ChartDirector 6.0 (Perl Edition)
AngularMeter.addScaleBackground
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
bgRadius | (Mandatory) | The radius of the circle segment to be used as the scale background. |
fillColor | (Mandatory) | The fill color of the circle segment (the background color). |
edgeWidth | 0 | The edge width of the circle segment. A positive width means the edge is internal to the circle segment. A negative width means the edge is external to the circle segment. |
edgeColor | -1 | The edge color. The default value of -1 means the edge color is the same as the fill color. |
scaleRadius | -0x7fffffff | The radius of the meter scale. ChartDirector uses this value to compute the extra angular span the circle segment must have in order to maintain proper margin at the chord side. This argument is usually not necessary as ChartDirector already know the scale radius from the meter configuration. This argument can be used if you would like to use a "fake" scale radius to draw the scale background for special effects. |
startAngle | NoValue | The start angle of the meter scale. ChartDirector uses this value to compute start angle of the circle segment. This argument is usually not necessary as ChartDirector already know the start angle from the meter configuration. This argument can be used if you would like to use a "fake" angle to draw the scale background for special effects. |
endAngle | NoValue | The end angle of the meter scale. ChartDirector uses this value to compute end angle of the circle segment. This argument is usually not necessary as ChartDirector already know the end angle from the meter configuration. This argument can be used if you would like to use a "fake" angle to draw the scale background for special effects. |
Return Value