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 - uneven label spacing with talPointValue or Series.Labels
Summary: uneven label spacing with talPointValue or Series.Labels
Status: CONFIRMED
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: 2016-08-23 08:45 EDT by christopher ireland
Modified: 2016-08-23 08:45 EDT (History)
0 users

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


Attachments
screenshot (48.26 KB, image/png)
2016-08-23 08:45 EDT, christopher ireland
Details

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