This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I always build my charts in code. I have noticed that the way I build charts the private method Chart.BuildChart() always runs twice, which seems like a potential performance issue. The following simple program demonstrates this:
C# code:
Every time the Add Series button is clicked the BuildChart executes twice (of course you need to set an appropriate break point or Console.WriteLine to observe). While this isn't such a big deal, I was wondering if anything can be done to avoid building the chart twice. Peter |
|
|
Thanks Peter It is difficult to get the call count down to 1 in all scenarios and is something we have improved a lot since the first version. We will certainly be looking through this again in the next performance iteration early this year. Jason Fauchelle |
|