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
Chart is Running a bit slow.
Chart is Running a bit slow.
--------------------
Cheers Phil.
Cheers Phil.
Re: Chart is Running a bit slow.
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,
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 |
Instructions - How to post in this forum |
Re: Chart is Running a bit slow.
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.
Cheers Phil.
Re: Chart is Running a bit slow.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |