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 1492

Summary: AxisBreaksTool not working with logarithmic axes
Product: .NET TeeChart Reporter: narcís calvet <narcis>
Component: ToolsAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: enhancement CC: chris
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description narcís calvet 2016-04-04 07:12:13 EDT
Same as in Delphi although the behaviour is different: http://bugs.teechart.net/show_bug.cgi?id=1490

Code to reproduce the problem:

      tChart1.Series.Add(new Steema.TeeChart.Styles.Line());

      tChart1.Aspect.View3D = false;
      tChart1.Axes.Left.Logarithmic = true;

      for (int i = 0; i <= 1000; i++)
      {
        tChart1[0].Add(i);
      }

      var axisBreaks1 = new Steema.TeeChart.Tools.AxisBreaksTool(tChart1.Chart);
      
      axisBreaks1.Axis = tChart1.Axes.Left;
      axisBreaks1.Breaks.Add(new Steema.TeeChart.Tools.AxisBreak(axisBreaks1));
      axisBreaks1.Breaks[0].StartValue = 10;
      axisBreaks1.Breaks[0].EndValue = 20;