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 1605

Summary: uneven label spacing with talPointValue or Series.Labels
Product: VCL TeeChart Reporter: christopher ireland <chris>
Component: AxisAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: normal    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: screenshot

Description christopher ireland 2016-08-23 08:45:24 EDT
Created attachment 634 [details]
screenshot

Use either talPointValue or add in series labels using this code:

procedure TForm1.InitializeChart;
var series : TLineSeries;
    t : Integer;
    val : Double;
begin
  Chart1.View3D:=false;
  series := TLineSeries(Chart1.AddSeries(TLineSeries));
  for t:=1 to 30 do
  begin
     //series.AddXY(t, Math.RandomRange(0, 10000), FloatToStr(t));
     series.AddXY(t, Math.RandomRange(0, 10000));
  end;
  series.Pointer.Visible:=true;
  Chart1.Axes.Bottom.LabelStyle:=talPointValue;
  Chart1.Axes.Bottom.Increment:=10;
end;

please see attachment for screenshot of uneven label spacing. Chart Axes do not respond to the TChartAxis.Increment property.