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.
TeeChart2014 OCX - Line/Bar Chart - Width problem
TeeChart2014 OCX - Line/Bar Chart - Width problem
- Attachments
-
- YAxisLabelNotPositionedCorrectly.jpg (27.55 KiB) Viewed 9713 times
-
- BarChartProblem.PNG (9.25 KiB) Viewed 9705 times
Re: TeeChart2014 OCX - Line/Bar Chart - Width problem
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:
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.
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
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.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: TeeChart2014 OCX - Line/Bar Chart - Width problem
Thanks. It's working.