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 49 - Editor AxisBreak tool Start/End incorrect
Summary: Editor AxisBreak tool Start/End incorrect
Status: CONFIRMED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Tools (show other bugs)
Version: TeeChart for .NET 4.1.2013.07300
Hardware: PC Windows
: --- major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-23 11:01 EDT by sandra pazos
Modified: 2013-10-23 11:01 EDT (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sandra pazos 2013-10-23 11:01:54 EDT
When you use Series with a AxisBreak tool with more one break, if you  open the editor and go to the tab tool, the start and end of breaks are the same for each break. 
The code to reproduce the problem is next: 
   public Form1()
    {
      InitializeComponent();
      tChart1 = new Steema.TeeChart.TChart();
      this.Controls.Add(tChart1);
      tChart1.Aspect.View3D = false; 
      tChart1.Dock = DockStyle.Bottom;
      InitializeChart();
    }
    private Steema.TeeChart.Styles.FastLine fastLineSeries1;
    private Steema.TeeChart.TChart tChart1;
    private Steema.TeeChart.Tools.AxisBreaksTool axisBreak; 
    private void InitializeChart()
    {
      fastLineSeries1 = new Steema.TeeChart.Styles.FastLine(tChart1.Chart);
      this.fastLineSeries1.FillSampleValues(100);
      axisBreak = new Steema.TeeChart.Tools.AxisBreaksTool(tChart1.Chart); 
        // Add Breaks
        axisBreak.Axis = tChart1.Axes.Bottom;
        axisBreak.GapSize = 20;
      
       Steema.TeeChart.Tools.AxisBreak break1 = new Steema.TeeChart.Tools.AxisBreak(axisBreak);
        axisBreak.Breaks.Add(break1);
        break1.StartValue = 10;
        break1.EndValue = 20;

        Steema.TeeChart.Tools.AxisBreak break2 = new Steema.TeeChart.Tools.AxisBreak(axisBreak);
        axisBreak.Breaks.Add(break2);
        break2.StartValue = 50;
        break2.EndValue = 60;
    
     
      button1.Click  = button1_Click;
    }

    private void button1_Click(object sender, System.EventArgs e)
    {
      tChart1.ShowEditor();
    }