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 1797 - Bar series MultiBars.SideAll throws unhandled exception with large series/number of series
Summary: Bar series MultiBars.SideAll throws unhandled exception with large series/num...
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-22 10:48 EST by christopher ireland
Modified: 2017-03-01 08:50 EST (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 christopher ireland 2017-02-22 10:48:27 EST
Code to reproduce:


    //#define CRASH_ON_TOO_MANY_SERIES
    //#define CRASH_ON_TOO_MANY_POINTS

    private void InitializeChart()
    {
      tChart1.Aspect.View3D = true;
#if (CRASH_ON_TOO_MANY_SERIES)
                for (int i=0; i < 7; i++)
#else
      for (int i = 0; i < 6; i++)
#endif
      {
        Steema.TeeChart.Styles.Bar TheSeries = new Steema.TeeChart.Styles.Bar();
        TheSeries.MultiBar = Steema.TeeChart.Styles.MultiBars.SideAll;
        TheSeries.Title = "Series-" + i.ToString();
        TheSeries.Marks.Visible = false;

        tChart1.Series.Add(TheSeries);

#if (CRASH_ON_TOO_MANY_POINTS)
                    for (int j = 10; j < 180; j += 10)
#else
        for (int j = 10; j < 170; j += 10)
#endif
        {
          TheSeries.Add(j, "Label-" + j.ToString());
        }
      }
    }