![]() | 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: | Wrong labels position when LabelsAngle is oblique | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Axis | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | david, jonp |
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://www.teechart.net/support/viewtopic.php?f=3&t=14873 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: |
labels overlapped by the chart when LabelsAngle is oblique
reproduceable test project, axis labels rotation angle etc |
||
Refactored and fixed. Improved labels alignment to axis ticks for any given angle (0 to 360 degree) and both horizontal and vertical axes. Created attachment 448 [details]
reproduceable test project, axis labels rotation angle etc
|
Created attachment 187 [details] labels overlapped by the chart when LabelsAngle is oblique The labels position seems to be wrong when LabelsAngle is oblique. The problem is reproducible with the code below from v2013.09. It worked fine with v2013.08. Chart1.View3D:=false; with Chart1.AddSeries(TBarSeries) as TBarSeries do begin ColorEachPoint:=true; for i:=0 to 5 do Add(5+random*10, 'my label nÂș' + IntToStr(i)); end; Chart1.Axes.Bottom.LabelsAngle:=45; Image showing the problem attached.