I don't know if I am using the correct phrases, but here are what I want to plot.
1) Circle ring: the area in middle of two circles with radius r1 and r2 and fill it up with some color.
2) arc segment: a fraction of the circle ring from angle a1 to a2, which consists of 4 lines. One arc with radius of r1, one arc with radius r2 and the two lines connecting the two arcs.
For example, r1=5cm and r2 = 10cm, the circle ring will be the area between the two circle edges, and a arc segment could be from 30 to 60 degrees of the circle ring.
So how to draw these two items? There is no shape series for them.
How to draw a circle ring and a arc segment?
Re: How to draw a circle ring and a arc segment?
Hi David,
I'm afraid that there is no TeeChart function right now to do this automatically. The only way I can think right now would be drawing a custom polygon with TeeChart's Canvas.Polygon method but you should calculate all the ring coordinates manually.
I'm afraid that there is no TeeChart function right now to do this automatically. The only way I can think right now would be drawing a custom polygon with TeeChart's Canvas.Polygon method but you should calculate all the ring coordinates manually.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: How to draw a circle ring and a arc segment?
Got it. Thanks.