ChartDirector 6.2 (.NET Edition)



[C#] public void addRing(int startRadius, int endRadius, int fillColor [, int edgeColor ]);
[VB] Public Sub addRing(startRadius As Integer, endRadius As Integer, fillColor As Integer [, edgeColor As Integer ])


Adds a circular ring or a circle to the meter.

A ring is the region between two concentric circles. This method is most often used for adding circular borders and backgrounds for the meter, and for some other decorative purposes. For example, one can add a circle with a metallic background color as the 'face' of the meter meter using this method.


startRadius(Mandatory)The starting radius of the ring in pixels. To add a circle, set the start radius to 0.
endRadius(Mandatory)The ending radius of the ring in pixels.
fillColor(Mandatory)The fill color of the ring.
edgeColor-1The edge color of the ring. The default is the same as the fill color.

Return Value