Page 1 of 1

Round pie charts

Posted: Wed Apr 05, 2006 11:10 am
by 9340420
Is there a way to force a 2D pie chart to be round rather than oval?

Posted: Wed Apr 05, 2006 11:14 am
by narcis
Hi Normand,

Yes, use:

Code: Select all

  Series1.Circled:=true;
This property can also be set at design-time using the chart editor, series tab, selecting a pie series, circled tab.

Posted: Wed Apr 05, 2006 1:45 pm
by 9340420
Oh! Thanks! But while it works fine when your screen is in landscape more (like most people do), this option does not work when working in portrait mode. It seems like the algorithm create a ratio without taking into account the fact that the height may be bigger than the width.

Any way to fix this so that this option works for both screen orientation?

Posted: Tue Apr 11, 2006 12:04 pm
by Pep
Hi ,

it seems it works fine here having a Chart object which its height is bigger than the width. (using the latest TeeChart Pro v7.06).

How can I see the problem you refer ?

Posted: Thu Apr 13, 2006 12:07 am
by 9340420
Quite easy, create a new application, a TChart component, add a Pie series, go to the editor, put a check mark beside Circled and remove the one in the 3 Dimentions checkbox.

If you leave both items checked, you will get a round pie in 3D, but if you display the pie in 2D, it will not be round but oval (on a screen in portrait orientation).

Let me know if you want me to create a project for you.

Posted: Tue Apr 18, 2006 10:10 am
by Pep
Hi,

yes please, would you be so kind to send me an small app with which I can see the problem here ( directly to pep@steema.com) ?
I cannot see the problem here using the latest TeeChart Pro version.