ChartDirector 5.1 (PHP Edition)
AngularMeter.addRingSector
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
startRadius | (Mandatory) | The starting radius of the ring sector in pixels. To add a sector, set the starting radius to 0. |
endRadius | (Mandatory) | The ending radius of the ring sector in pixels. |
a1 | (Mandatory) | The starting angle of the ring sector in degrees. The angle is measured in degrees clockwise, with 0 being the upward pointing direction. |
a2 | (Mandatory) | The ending angle of the ring sector in degrees. The angle is measured in degrees clockwise, with 0 being the upward pointing direction. |
fillColor | (Mandatory) | The fill color of the ring sector. |
edgeColor | -1 | The edge color of the ring sector. The default is the same as the fill color. |
Return Value