Page 1 of 1

Pen.width

Posted: Fri Jun 17, 2016 9:31 am
by 16578008
Hello, i have a problem in the new version of teechart 2015 with delphi 10. Comparing to tho old version (delphi xe with teechart 2010 or 2013) then series and axes lines are more bold with the same width = 1 (see attached picture) . How can i have the same look in the new version with a simple change ?
Thanks
old.png
old.png (55.43 KiB) Viewed 4561 times
new.png
new.png (66.81 KiB) Viewed 4562 times

Re: Pen.width

Posted: Mon Jun 20, 2016 8:45 am
by yeray
Hello

We moved from GDI to GDIPlus as default canvas. Take a look at the options you have to change from GDIPlus to GDI here.
An alternative would be to disable AntiAlias in GDIPlus:

Code: Select all

(Chart1.Canvas as TGDIPlusCanvas).AntiAlias:=false;