The tower series is the same.
When I apply 40 numbers of sample values,
the painted speed is very slow.
Is there any workaround to improve performance?
Best Regards!
Tower performance question
Hi wilcohsu,
we made a simple project to test drawing speed of a tower series.
The results for an AMD64 3500+ with 1GB RAM are between 600 and 700 ms
we made a simple project to test drawing speed of a tower series.
Code: Select all
private void button1_Click(object sender, EventArgs e)
{
tower1.FillSampleValues(40);
}
private DateTime startTime, now;
private void tChart1_BeforeDraw(object sender, Steema.TeeChart.Drawing.Graphics3D g)
{
label1.Text = "";
startTime = DateTime.Now;
}
private void tChart1_AfterDraw(object sender, Steema.TeeChart.Drawing.Graphics3D g)
{
//calculate elapsed time
now = DateTime.Now;
TimeSpan elapsedTime = new TimeSpan(now.Ticks - startTime.Ticks);
int total = (elapsedTime.Seconds * 1000) + elapsedTime.Milliseconds;
label1.Text = "Elapsed time: " + total.ToString() + " ms";
}
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
The same code shows the elapsed time on re-drawing the chart when restoring after minimizing. And the times for my computer are even fewer than getting new values.
Otherwise, maximizing the chart is slower because the drawed surface is bigger. It spends about 1 second for me.
If you still have problems on this, please send us a simple example project we can run "as-is" to reproduce the problem here. You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
Otherwise, maximizing the chart is slower because the drawed surface is bigger. It spends about 1 second for me.
If you still have problems on this, please send us a simple example project we can run "as-is" to reproduce the problem here. You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |