Page 1 of 1

pie series - zoom larger than chart - border drawn incorrect

Posted: Mon Oct 05, 2009 1:39 pm
by 10049140
Hi.

I realized that when I zoom in my pie chart so the complete pie does not fit on my chart, the pixels at the border are not drawn correctly.
Image

Note: I am using Delphi 2010 and TeeChart V8.06
I realized that this problem did not occur on my Delphi 2009 with TeeChart V8.04!

Can you please tell me if this is a known issue and if there is a workaround?

Thanks!

Re: pie series - zoom larger than chart - border drawn incorrect

Posted: Mon Oct 05, 2009 3:12 pm
by yeray
Hi marder,

Yes, I've been able to reproduce it and I've added it to the wish list to be fixed in next releases (TV52014465).
The code I used to reproduce it is the following:

Code: Select all

uses series, TeeTools, TeeAntiAlias;

var Series1: TPieSeries;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Series1 := TPieSeries.Create(self);
  Chart1.AddSeries(Series1);

  Series1.FillSampleValues(7);

  Chart1.Aspect.Zoom := 250;

  Chart1.Tools.Add(TAntiAliasTool.Create(self));
end;

Re: pie series - zoom larger than chart - border drawn incorrect

Posted: Tue Oct 06, 2009 7:53 am
by 10049140
Dear Yeray.

Thanks for your help!
Could you tell me if this is an issue with Delphi 2010 or if this issue slipped in with the TeeChart V8.06 update?
Means: If I use Delphi 2009 with the new V8.06, would this issue still occur?

Best regards!

Re: pie series - zoom larger than chart - border drawn incorrect

Posted: Tue Oct 06, 2009 11:09 am
by yeray
Hi marder,

Yes, the problem is still reproducible with today's sources.

Re: pie series - zoom larger than chart - border drawn incorrect

Posted: Tue Oct 06, 2009 2:24 pm
by 10049140
Dear Yeray.

Thanks for your feedback, but what I meant was:
Dose this issue also occur with Delphi 2009 or only with Delphi 2010?

Thanks!

Re: pie series - zoom larger than chart - border drawn incorrect

Posted: Tue Oct 06, 2009 3:32 pm
by yeray
Hi marder,

Both versions come from the same sources and that doesn't seem an IDE-depending problem. So it should be reproducible with any TeeChart v8.06.

Re: pie series - zoom larger than chart - border drawn incorrect

Posted: Wed Oct 07, 2009 7:04 am
by 10049140
Ok, thanks!