![]() | Steema Issues DatabaseNote: 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. |
| Summary: | Editor AxisBreak tool Start/End incorrect | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | sandra pazos <sandra> |
| Component: | Tools | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | CONFIRMED --- | ||
| Severity: | major | ||
| Priority: | --- | ||
| Version: | TeeChart for .NET 4.1.2013.07300 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
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(); }