![]() | 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: | Too much margin between the axis labels and the ticks when multiline and LabelsAngle=90 | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Axis | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | david, gustav.kaiser, marc, Richard.Taylor |
| Priority: | --- | ||
| Version: | 131119 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: | test application and screenshots | ||
Note: Problem happens only when labels are multi-line (more than one line of text). Another example here:
uses Series;
procedure TForm1.FormCreate(Sender: TObject);
begin
with Chart1 do
begin
View3D:=False;
with AddSEries(TLineSeries) as TLineSeries do
begin
XValues.DateTime:=True;
FillSampleValues;
end;
BottomAxis.DateTimeFormat:='dd.MM hh:mm';
BottomAxis.LabelsAngle:=90;
BottomAxis.LabelsMultiLine:=True;
end;
end;
Done after seeing another customer:
http://www.teechart.net/support/viewtopic.php?p=65600#p65600
Not sure if related, but certainly adding this in the code from the last comment Axes.Bottom.Shape.Visible:=true; Makes the labels not to be visible. But only in the circumstances above, because if you comment the DateTimeFormat then it works fine: //BottomAxis.DateTimeFormat:='dd.MM hh:mm'; This other ticket also talks about rotated axis labels not being correctly calculated. And it's fixed: http://bugs.teechart.net/show_bug.cgi?id=947 But the fix for that (#947) doesn't help for the ticket here (#528). *** Bug 1458 has been marked as a duplicate of this bug. *** Resolved for inclusion in next update release. |
Created attachment 64 [details] test application and screenshots This happens from v2013.09. It didn't happen in v2013.08 Testing application attached with screenshots