Chart is Running a bit slow.

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Snarkle
Newbie
Newbie
Posts: 91
Joined: Wed Jun 30, 2010 12:00 am

Chart is Running a bit slow.

Post by Snarkle » Wed Mar 02, 2011 5:48 am

Greetings all,

I am wishing to migrate our older version of TChart to the new version (TeeChartNET2010Src_4.1.2010.11300)
especially so we can use Log mode which does not work in the older version we currently use.

But as I commented on briefly once before it seems to run a significantly slower for Drawlines than the older version we are using.

This time however I profiled TChart and can see that its spending a lot of time calling Series.CalcFirstLastVisibleIndex() it calls this method many many more times than the previous version we are using. And as a result my Drawlines are much much slower to place and move than they were before. Thats the symptom.

To test I used the same code base and simply swapped TChart version 4.0 in and profiled it looking fro the hot path, then I swapped in Tchart 4.1 (i.e. the above mentioned source) and again profiled it simply applying a Line to a chart that has an Candle series both times. You will see this in your performance profiler.

We really need Log mode our next product version release, but we cant have slow drawlines as this is also an integral part of the Chart tool our product has.

Could you please advise me whether you see the same degredation around the Series.CalcFirstLastVisibleIndex() method and whether this is a defect that will be fixed OR merely a result of new behaviour added in the latest release that requires this method to be hit so many more times.

If it by design, do you have any suggestions about what I can do to get Log mode working in the previous (4.0.2010.27961 from the properties window)

I am really hoping this is a defect (that sounds horrible doesnt it, sorry) otherwise I will have to modify the existing Tchart code I have and not take advantage of any future updates.

kind regards Phil
--------------------
Cheers Phil.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Chart is Running a bit slow.

Post by Sandra » Wed Mar 02, 2011 11:41 am

Hello Phil,

I inform that you have in download page a new version of source code of TeeChart.Net 2010. So, I recommend download last version and check again, if your problem persist. If it persist, please send us a simple project, we run "as-is" to reproduce the problem here because we can try to help you to solve it.


Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Snarkle
Newbie
Newbie
Posts: 91
Joined: Wed Jun 30, 2010 12:00 am

Re: Chart is Running a bit slow.

Post by Snarkle » Wed Mar 02, 2011 11:02 pm

I did see the latest files ... but the version number is 4.0. .. whereas the last I have is 4.1. ... ok I'll give these a try ... but I must say thats some confusing versioning going on there .. :-)
--------------------
Cheers Phil.

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Chart is Running a bit slow.

Post by Yeray » Thu Mar 03, 2011 3:36 pm

Hi Phil,

Here it is the explanation:
http://www.teechart.net/support/viewtop ... ead#unread
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply