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 - Axis' LabelStyle talPointValue ignores Axis Increment, renders inconsistently.
Summary: Axis' LabelStyle talPointValue ignores Axis Increment, renders inconsistently.
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Axis (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-23 06:19 EST by christopher ireland
Modified: 2017-11-03 05:08 EDT (History)
1 user (show)

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


Attachments
screenshot (42.74 KB, image/png)
2017-02-23 06:19 EST, christopher ireland
Details

Note You need to log in before you can comment on or make changes to this bug.
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