Page 1 of 1

TeeChart2014 OCX - Line/Bar Chart - Width problem

Posted: Fri Jun 27, 2014 9:19 am
by 16668589
For any type of graph the grid, the wall, the bars (for the bar chart) are 2 pixels even if the width for them are set to 1 or 0. The difference between the width 2 and width 0/1 is the color. Width 2 has black color and 2 pixels and width 0/1 has dark grey with 2 pixels.

In previous version, TeeChart2012 OCX, worked fain.

See attached pictures.

Re: TeeChart2014 OCX - Line/Bar Chart - Width problem

Posted: Fri Jun 27, 2014 3:27 pm
by yeray
Hello,

The last TeeChart versions use GDIPlus as the default Canvas for rendering. And the AntiAlias in GDIPlus can't draw 1px size lines.
You can set GDI back with this call at runtime:

Code: Select all

TChart1.Aspect.GDIPlus.Active = False
Alternatively, you can set GDI at design time editor, at the "Chart / 3D / Render" tab.

If you want the new charts to be created with GDI as before, you can open the "Options" menu at design time, and select "GDI" in the "Render" combobox at the "New Chart" tab.

Re: TeeChart2014 OCX - Line/Bar Chart - Width problem

Posted: Mon Jun 30, 2014 7:45 am
by 16668589
Thanks. It's working.