TeeChart Performance optimized

TeeGrid .NET for Microsoft Visual Studio .NET.
Post Reply
PetexUser
Newbie
Newbie
Posts: 15
Joined: Thu Jul 05, 2018 12:00 am

TeeChart Performance optimized

Post by PetexUser » Tue Mar 12, 2019 5:33 pm

Using the .Net Version=4.1.2018.5046 of TeeChart we observe slow performance of standard operations (render, zoom etc.).

As an example create 5 line series each with a million points (in a standard Winform).
The time to render the plot is improved if we use a FastLine series but not significantly.

When we compare performance with other similar Net charting software even with moderate size data sets TChart is significantly slower (i.e. takes 10s of seconds vs instantaneous).

We would be interested in how we could optimize the performance of the plots.

Code extract
============

Steema.TeeChart.Styles.Line lineSeries1 = new Steema.TeeChart.Styles.Line();
Steema.TeeChart.Styles.Line lineSeries2 = new Steema.TeeChart.Styles.Line();
Steema.TeeChart.Styles.Line lineSeries3 = new Steema.TeeChart.Styles.Line();
Steema.TeeChart.Styles.Line lineSeries4 = new Steema.TeeChart.Styles.Line();
Steema.TeeChart.Styles.Line lineSeries5 = new Steema.TeeChart.Styles.Line();
tChart.Aspect.View3D = false;
tChart.Aspect.Orthogonal = false;


// bottom axis - pipe length
Steema.TeeChart.Axis bottomAxis = tChart1.Axes.Bottom;
bottomAxis.Title.Visible = true;
bottomAxis.Title.Text = "Pipe length";

// left axis - property
Steema.TeeChart.Axis leftAxis = tChart1.Axes.Left;
leftAxis.Title.Visible = true;

lineSeries1.Color = Color.Blue;
lineSeries1.FillSampleValues(1000000);

lineSeries2.Color = Color.Red;
lineSeries2.FillSampleValues(1000000);

lineSeries3.Color = Color.Green;
lineSeries3.FillSampleValues(1000000);

lineSeries4.Color = Color.Brown;
lineSeries4.FillSampleValues(1000000);

lineSeries5.Color = Color.Orange;
lineSeries5.FillSampleValues(1000000);

tChart.Series.Add(lineSeries1);
tChart.Series.Add(lineSeries2);
tChart.Series.Add(lineSeries3);
tChart.Series.Add(lineSeries4);
tChart.Series.Add(lineSeries5);

Marc
Site Admin
Site Admin
Posts: 1272
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: TeeChart Performance optimized

Post by Marc » Fri Jul 05, 2019 8:13 am


Post Reply