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 1490

Summary: TAxisBreaksTool not working with logarithmic axes
Product: VCL TeeChart Reporter: narcís calvet <narcis>
Component: ToolsAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: normal    
Priority: High    
Version: 150901   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://stackoverflow.com/questions/36327560/is-it-possible-to-strech-compress-an-interval-of-an-axis-in-tchart/36328303?noredirect=1#comment60368746_36328303
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description narcís calvet 2016-04-04 04:05:50 EDT
Code to reproduce:

uses Series, TeeAxisBreaks;

procedure TForm1.FormCreate(Sender: TObject);
var i: Integer;
begin
  Chart1.View3D:=False;
  Chart1.Axes.Left.Logarithmic:=True;
  Chart1.AddSeries(TLineSeries.Create(Self));

  for i:=0 to 1000 do
    Chart1[0].Add(i);

  with TAxisBreaksTool.Create(Self) do
  begin
    Axis := Chart1.Axes.Left;
    Breaks.Add(10,20);
  end;
end;