Steema Issues Database

Note: 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.



Bug 528 - Too much margin between the axis labels and the ticks when multiline and LabelsAngle=90
Summary: Too much margin between the axis labels and the ticks when multiline and Labe...
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Axis (show other bugs)
Version: 131119
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
: 1458 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-01-07 10:39 EST by yeray alonso
Modified: 2016-03-22 12:23 EDT (History)
4 users (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments
test application and screenshots (37.08 KB, application/octet-stream)
2014-01-07 10:39 EST, yeray alonso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yeray alonso 2014-01-07 10:39:22 EST
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
Comment 1 david berneda 2014-01-08 07:35:54 EST
Note: Problem happens only when labels are multi-line (more than one line of text).
Comment 2 yeray alonso 2014-04-02 08:01:27 EDT
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
Comment 3 yeray alonso 2014-04-02 08:08:22 EDT
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';
Comment 4 yeray alonso 2015-11-06 11:03:04 EST
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).
Comment 5 yeray alonso 2016-03-22 10:31:45 EDT
*** Bug 1458 has been marked as a duplicate of this bug. ***
Comment 6 marc meumann 2016-03-22 12:23:39 EDT
Resolved for inclusion in next update release.