Pie OnGetMarkText and looks

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Martin Hyldgaard
Newbie
Newbie
Posts: 1
Joined: Tue Jun 05, 2012 12:00 am

Pie OnGetMarkText and looks

Post by Martin Hyldgaard » Tue Mar 04, 2014 10:13 am

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 2682 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?
Attachments
TeeChartSmallPie.zip
(4.11 KiB) Downloaded 258 times

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Pie OnGetMarkText and looks

Post by Yeray » Tue Mar 04, 2014 3:39 pm

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
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply