We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Add series to chart is slow

Thread ID:

Created:

Updated:

Platform:

Replies:

53222 Dec 11,2006 01:13 PM UTC Dec 14,2006 10:40 AM UTC WinForms 2
loading
Tags: Chart
Ana
Asked On December 11, 2006 01:13 PM UTC

Hello,

I have some performance problem in an application I have made with the (Windows Forms) ChartControl that I need help with.
In my application I need to group bars in a specific way (see attached picture). The number of bars in each group can vary and the colors of the bars does not always match which series they belong to, (that is, the bars in a series does not always have the same color as default).

The reason to why I have created several series with only a few points to each is be able to group the columns and to get lines between the groups by using the property: series.DrawColumnSeparatingLines.

The problem now is that it takes very long time for the chart to update when having several series (sometimes up to 70). It seems to be the Add function that takes a long time.

I have made a small application for you to see what it is that I am doing when updating the chart. I'm counting the time that it takes
for only the Add function to execute and presents that time. As you can see it takes about 13-14 seconds to update the chart.

Have I done anything wrong when creating the points to each series before adding it that makes the Add function executing so slow?
Do you perhaps have any ideas how to achieve the same result as shown in the attached picture instead of having so many series?

Best regards
Ana

ChartPerformance.zip

Poly J [Syncfusion]
Replied On December 13, 2006 09:46 AM UTC

Hi Ana,

Sorry for the delay in getting back to you.

Essential Chart performance is improved in the latest version [4.4.0.51].
I have tested the same project using the latest version.It is taking only fraction of seconds for updating the chart. Please find the attached screen shot.
ScreenShot

Thanks for using Syncfusion products.

Best Regards,
Poly

Ana
Replied On December 14, 2006 10:40 AM UTC

Aha! Perfect! The latest version really solved my problem!!
Thanks,

//Ana

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;