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 1879

Summary: logarithmic axis labels overlapping
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: AxisAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=3&t=16606&p=73898#p73898
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2017-06-12 04:16:41 EDT
The default calculation of labels produces overlapping labels when the axis is logarithmic and there are enough values in the series. Ie:

uses Series;

procedure TForm1.FormCreate(Sender: TObject);
var i: Integer;
begin
  Chart1.View3D:=False;
  Chart1.Legend.Visible:=False;

  Chart1.Axes.Bottom.Logarithmic:=True;
  with Chart1.AddSeries(TLineSeries) as TLineSeries do
  begin
    Pointer.Visible:=True;
    Pointer.Size:=2;

    for i:=1 to 23 do
        AddXY(exp(i), i);
  end;
end;