Page 1 of 1

Pie - Pyramid

Posted: Fri Oct 23, 2015 7:57 pm
by 16476641
Hi,

We are using Teechart Pro V2015 and Delphi XE6.When we change the chart style from pie to pyramid, the data order is inverted and labels don´t appear on each level of the pyramid. Could you explain us how to solve it?


Thank you

Re: Pie - Pyramid

Posted: Tue Oct 27, 2015 1:46 pm
by yeray
Hello,

This is what I see:
pie.png
pie.png (27.03 KiB) Viewed 7679 times
pyramid.png
pyramid.png (24.08 KiB) Viewed 7677 times
info wrote:When we change the chart style from pie to pyramid, the data order is inverted
I see the order of the points is inverted on the legend but kept at the Data editor.
Have you observed this was different in a previous version?
info wrote:labels don´t appear on each level of the pyramid. Could you explain us how to solve it?
I see only one mark is drawn correctly for the pyramid series.
Have you observed this was different in a previous version?

Re: Pie - Pyramid

Posted: Tue Oct 27, 2015 6:18 pm
by 16476641
Hello, we are migrating from ChartFX to TeeChart.

Pie1.png
ChartFX PIE
Pie1.png (18.01 KiB) Viewed 7671 times

Pyramid1.png
ChartFX Pyramid
Pyramid1.png (13.31 KiB) Viewed 7661 times

Re: Pie - Pyramid

Posted: Wed Oct 28, 2015 12:12 pm
by yeray
Hello,

I see the X position of the marks isn't correctly calculated.
I've added it to the public tracker and already found a fix for it so the next maintenance release will include it:
http://bugs.teechart.net/show_bug.cgi?id=1357

Regarding the legend, you can always manually invert it:

Code: Select all

Chart1.Legend.Inverted:=true;
Here it is how it looks with the fix for id=1357 and the legend inverted:
Pyramid.png
Pyramid.png (21.81 KiB) Viewed 7643 times
Let me also attach the test project I used for future reference:
testPieToPyramid.zip
(1.62 KiB) Downloaded 489 times

Re: Pie - Pyramid

Posted: Wed Oct 28, 2015 3:43 pm
by 16476641
Thank you!!