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 1458 - Bottom axis tick labels too far from x axis
Summary: Bottom axis tick labels too far from x axis
Status: RESOLVED DUPLICATE of bug 528
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Chart (show other bugs)
Version: 150901
Hardware: PC Windows
: Highest critical
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-07 07:17 EST by Richard.Taylor
Modified: 2016-03-23 13:50 EDT (History)
1 user (show)

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


Attachments
Shows issue (18.48 KB, image/jpeg)
2016-03-07 07:17 EST, Richard.Taylor
Details
fixed (19.29 KB, image/png)
2016-03-23 03:24 EDT, yeray alonso
Details
fixed (18.86 KB, image/png)
2016-03-23 03:26 EDT, yeray alonso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard.Taylor 2016-03-07 07:17:23 EST
Created attachment 562 [details]
Shows issue

I have a standard bottom axis displaying time/date.
The labels are rotated 90 degrees.
The labels are displayed multiline.
The labels on the ticks are displayed too far from the axis and overlap the axis title.

This is blocking my final release to a customer, so a quick reponse would be appreciated - thank you.
Comment 1 Richard.Taylor 2016-03-07 07:27:02 EST
The issue is with the LabelsMultiLine property (I'm using Delphi XE2).
If set False all is OK.
If set True I see the issue.
Unfortuanelty I need to have this set True, so this issue still stands.
Comment 2 Richard.Taylor 2016-03-22 10:20:11 EDT
Could you please supply a good reason as to why this issue is not being progressed.
Thank you for your support.
Comment 3 yeray alonso 2016-03-22 10:31:45 EDT

*** This bug has been marked as a duplicate of bug 528 ***
Comment 4 Richard.Taylor 2016-03-22 10:41:10 EDT
You appear to have closed my ticket in favour of a ticket that was raised over 12 months ago.
Surely you have a solution by now?

We upgraded to this version of TeeChart so that bugs we previously had to work around were no longer an issue.

But we appear to have more bugs in this new version.

Could you please let me know when a (free) solution is due to what is obviously Steema's mistake?
Comment 5 yeray alonso 2016-03-23 03:24:29 EDT
Created attachment 569 [details]
fixed

I marked it as a duplicate of bug 528 to avoid repetitions.
Anyway, thanks to your remind we checked it again and end up finding a fix as you can read in Marc's comment here:
http://bugs.teechart.net/show_bug.cgi?id=528#c6

I've just verified it also fixes the problem with datetime strings (see code below), and I can confirm it does (see screenshot attached).

uses Series, TeeGDIPlus, DateUtils;

var Chart1: TChart;

procedure TForm1.FormCreate(Sender: TObject);
var i: Integer;
    tmpDate: TDateTime;
begin
  Chart1:=TChart.Create(Self);
  Chart1.Parent:=Self;
  Chart1.Align:=alClient;
  Chart1.View3D:=false;

  with Chart1.AddSeries(TLineSeries) do
  begin
    XValues.DateTime:=true;
    tmpDate:=Now;
    for i:=0 to 24 do
    begin
      AddXY(tmpDate, random*10);
      tmpDate:=IncMinute(tmpDate, 15);
    end;
  end;

  Chart1.Axes.Bottom.LabelsAngle:=90;
  Chart1.Axes.Bottom.DateTimeFormat:='dd/mm/yy' + sLineBreak + 'hh:mm:ss';
  Chart1.Axes.Bottom.Increment:=DateTimeStep[dtThirtyMinutes];
  Chart1.Legend.Visible:=false;
end;
Comment 6 yeray alonso 2016-03-23 03:26:35 EDT
Created attachment 570 [details]
fixed
Comment 7 Richard.Taylor 2016-03-23 13:50:26 EDT
That is great news guys.

When will I be able to download the fix and from where?