Hi,
After upgrading from TeeChart 7 to TeeChart 2010 I tried to use tool TAntiAliasTool. Unfortunately TChart doesn't clip line series if TAntiAliasTool is active. Is it a bug or some TChart properties should be set to enable clipping?
Regards,
Jarek
TChart doesn't clip line series if TAntiAliasTool is active
TChart doesn't clip line series if TAntiAliasTool is active
- Attachments
-
- TestChartAA.zip
- Test project
- (89.92 KiB) Downloaded 495 times
-
- Screenshot
- Screenshot.png (66.26 KiB) Viewed 8054 times
Re: TChart doesn't clip line series if TAntiAliasTool is active
Hi Jarek,
This is a known problem already in the defect list to be fixed in future releases (TV52015427).
However, with GDI+ clips the points correctly in the chart rect.
This is a known problem already in the defect list to be fixed in future releases (TV52015427).
However, with GDI+ clips the points correctly in the chart rect.
Code: Select all
uses Series, TeeAntiAlias, TeeGDIPlus;
procedure TForm1.FormCreate(Sender: TObject);
begin
Chart1.View3D:=false;
Chart1.Legend.Visible:=false;
//Chart1.Tools.Add(TAntiAliasTool);
Chart1.Canvas:=TGDIPlusCanvas.Create;
Chart1.AddSeries(TFastLineSeries).FillSampleValues;
Chart1.ClipPoints:=true;
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: TChart doesn't clip line series if TAntiAliasTool is active
Hello,
Thank you for your help. Now it works.
Where can I find defect list to be fixed in future releases?
Regards,
Jarek
Thank you for your help. Now it works.
Where can I find defect list to be fixed in future releases?
Regards,
Jarek
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TChart doesn't clip line series if TAntiAliasTool is active
Hi Jarek,
The list is not public but you can subscribe to: this forum, our RSS news feed, Steema Software's twitter or facebook acounts for new release announcements and what's implemented on them.
The list is not public but you can subscribe to: this forum, our RSS news feed, Steema Software's twitter or facebook acounts for new release announcements and what's implemented on them.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: TChart doesn't clip line series if TAntiAliasTool is active
I've installed TeeChart 2011.03 and tested bugfix:
16) [TV52015427]
TAntiAliasTool not clipping series points correclty. Fixed.
As you can see in an attached screenshot, almost all lines connecting points aren't drawn at all. Line connecting two clipped points is not clipped.
Jarek
16) [TV52015427]
TAntiAliasTool not clipping series points correclty. Fixed.
As you can see in an attached screenshot, almost all lines connecting points aren't drawn at all. Line connecting two clipped points is not clipped.
Jarek
- Attachments
-
- TeeChartAA-2011.03.png (50.73 KiB) Viewed 7990 times
Re: TChart doesn't clip line series if TAntiAliasTool is active
With the latest release, TeeChart v2011.03.30407, I also get this error on line series when the pen width is 2 pixels.
If I change to 1 or 3 pixels for the lines pen, it renders ok.
It worked in the release 2010.02.20202.
If I change to 1 or 3 pixels for the lines pen, it renders ok.
It worked in the release 2010.02.20202.
Re: TChart doesn't clip line series if TAntiAliasTool is active
Hello Jarek,
You are right. I inform you we are working with this bug to fix the problem as soon as possible.
Thanks,
You are right. I inform you we are working with this bug to fix the problem as soon as possible.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |