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 - teechart hangs when you add value+label in build 4.1.2016.10260
Summary: teechart hangs when you add value+label in build 4.1.2016.10260
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Chart (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- critical
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-28 01:51 EST by Sunil Ramesh
Modified: 2016-11-28 11:52 EST (History)
1 user (show)

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 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;
    }