Page 1 of 1

Polar graphs altering size when displaying marks

Posted: Tue Feb 14, 2006 3:49 pm
by 9340488
[Delphi 2005, TeeChart Pro 7.06]
I am currently using a polar graph on a form, and then populating with a set of points, each one being in a separate series. The graph shows as expected initially.

However, if the marks are turned on, it resizes to be around half the size. If you display several marks, the graph will alter its size, seemingly related to the length of the mark's label.
I don't know if this is the case, but I think it might have something to do with pie charts (which, IIRC, are the parent class of TPolarSeries(?)) - when the marks are added to pie charts the chart needs to resize because the marks are always on the outside of the chart. Perhaps this behaviour is carried over?
When the marks are turned off (set visible:=false), the chart resizes back to its propper size.

I have the source code if this is a bug, and would like to get this resolved fairly quickly if possible (ie; if it's a bug, a source tweak would be preferable over a maintenance release).

Thanks for any help on this!

Posted: Tue Feb 14, 2006 10:54 pm
by Pep
Hi,

you can solve this by setting a custom X and YRadius :

Code: Select all

Series1.CustomXRadius:=200;
Series1.CustomYRadius:=200;