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 1802

Summary: Axis' LabelStyle talPointValue ignores Axis Increment, renders inconsistently.
Product: VCL TeeChart Reporter: christopher ireland <chris>
Component: AxisAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: normal CC: marc
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: screenshot

Description christopher ireland 2017-02-23 06:19:08 EST
Created attachment 721 [details]
screenshot

Code to reproduce:

procedure TForm1.InitChart;
var today : TDateTime;
    i : Integer;
begin
    today := Now;

    Series1.XValues.DateTime:=true;

    For i:=0 to 50 do
    begin
      Series1.AddXY(today, Random);
      today:=today+7;
    end;

    Chart1.Axes.Left.Visible:=false;
    Chart1.Axes.Bottom.LabelsAngle:=90;
    Chart1.Axes.Bottom.DateTimeFormat:='dd/MM/yy hh:mm:ss';
    Chart1.Axes.Bottom.LabelStyle:=talPointValue;
    Chart1.Axes.Bottom.Increment:=14;
end;

Note that the Increment value of 14 is ignored. Also, inconsistent label spacing at some Chart sizes (see attachment).

Probably related to http://bugs.teechart.net/show_bug.cgi?id=1801