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 1697

Summary: teechart hangs when you add value+label in build 4.1.2016.10260
Product: .NET TeeChart Reporter: Sunil Ramesh <sunil.ramesh>
Component: ChartAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: critical CC: chris
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description Sunil Ramesh 2016-11-28 01:51:05 EST
Add a new series as below

         Series s = new Line(tChart1.Chart);

         s.Add(0.021277799637864005d, "M01");
         s.Add(0.03886356098240001d, "M01");

         tChart1.Series.Add(s);


this hangs the chart. 
Note: this works fine in build 4.1.2016.05120
Comment 1 christopher ireland 2016-11-28 05:36:16 EST
Hello,

A temporary workaround to this issue is to set the bottom axis increment to one, e.g.

    private void InitializeChart()
    {
      Series s = new Line(tChart1.Chart);

      s.Add(0.021277799637864005d, "M01");
      s.Add(0.03886356098240001d, "M01");

      tChart1.Aspect.View3D = false;

      tChart1.Axes.Bottom.Increment = 1;
    }