The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



Ellipse


Unit: SDL_rchart
Class: TRChart
Declaration: procedure Ellipse (cx, cy, HorizAxLeng, VertAxLeng: double);

The method Ellipse renders a filled ellipse. The center of the ellipse is specified by the parameters (cx,cy), the length of the horizontal and vertical half axes is specified by HorizAxLeng and VertAxLeng, respectively. The color of the boundary is determined by the property DataColor; the color of the inner area is specified by the property FillColor. The fill area of the ellipse may either be opaque or transparent, depending on the property TransparentItems. The line width may be adjusted by the property LineWidth.

Hint 1: A circle can be drawn by setting HorizAxLeng and VertAxLeng to equal values (= radius of the circle). Please note that the actual appearance depends on the scaling of the chart axes, unless the property Isometric is set to TRUE.

Hint 2: You should avoid drawing ellipses on a logarithmic chart, since the elliptical shape is not adjusted to the logarithmic coordinate system.

Hint 3: In the Light Edition the number of chart elements is restricted to 1000 elements.



Last Update: 2023-Dec-13