Page 1 of 1

Pie OnGetMarkText and looks

Posted: Tue Mar 04, 2014 10:13 am
by 16562665
I've recently upgraded TeeChart from 2012 to 2013 version.
I have some trouble with disapearing labeltext when using OnGetMarkText, and the look of the pie diagram is changed for the worse.
Here is a picture showing the difference, upper show 2013 version, lover 2012 version.
teechart.jpg
Upper: 2013, lower: 2012
teechart.jpg (130.23 KiB) Viewed 2666 times
I've attached at small demo program, where you can see the difference when running it compiled with the 2012 and the 2013 versions.
I'm using Delphi 2007.
Is this bugs or a change in how TeeChart works?

Re: Pie OnGetMarkText and looks

Posted: Tue Mar 04, 2014 3:39 pm
by yeray
Hello Martin,

I see two problems here:

1. The TPieSeries is drawn as an ellipse. I've reproduced this with v2010.01 to v2012.07. However this is solved in all these versions with the Circled property:

Code: Select all

procedure TForm48.FormCreate(Sender: TObject);
begin
  Series1.Circled:=true;
  Series2.Circled:=true;
end;
From v2013.08, this property is set to true by default.

2. Some marks and some slices not drawn correctly. I've reproduced this only with v2013.09, so I'd suggest you to update to v2014.10