![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
| Summary: | Drawing ticks LeftAxis and RightAxis differs | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | Михаил <belmic> |
| Component: | Axis | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | belmic, david, sandra |
| Priority: | --- | ||
| Version: | 150120 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | RAD XE5 |
| Attachments: |
Drawing ticks LeftAxis and RightAxis differs
Different draw left and right axes Example 2015.15 - problem is not solved |
||
Created attachment 402 [details]
Different draw left and right axes
The problem occurs if you set Left and Right ticks and Minorticks width to 0. The ticks and minorticks width of 0 is set specifically because it allows drawing the line width of 1 pixel (on the left axis of the screenshot). If you set the ticks and minorticks width to 1 pixel, then drawing the line is blurred (when anti-aliasing is enabled) Created attachment 403 [details]
Example
Fixed. The problem was Right axis using a different GDI+ canvas method than Left axis to display ticks. (Right axis calls HorizLine3D instead of DoHorizLine) Setting Pen.Width:=0 should also disable GDI+ antialias, otherwise GDI+ will still use a width of more than 1.0 to paint the lines. Changes done in TeeGDIPlus.pas unit, now make all GDI+ drawline methods to disable antialias when Pen.Width=0 Created attachment 453 [details]
2015.15 - problem is not solved
|
Created attachment 401 [details] Drawing ticks LeftAxis and RightAxis differs If the rendering is set to GDI+, drawing ticks LeftAxis and RightAxis is different (with the same line style settings)