Page 1 of 1
Gantt too slow
Posted: Tue Nov 29, 2011 4:21 pm
by 13051613
Hello,
I've a dataset with about 600 rows that i bind to my gantt datasource.
When I see the gantt series on the screen the program works too slow.
There are any solution to this issue?
Thanks in advance.
Re: Gantt too slow
Posted: Wed Nov 30, 2011 4:49 pm
by 10050769
Hello Pujol1986,
You can take a look in the technical article
Real-Time Charting where you can find a few tips to increase your performance. On the other hand, if the tips don't help you to solve your problem, please send us a simple project so we can try to help you.
Thanks,
Re: Gantt too slow
Posted: Wed Nov 30, 2011 6:00 pm
by 13051613
Here is an example of the issue.
Try to move the gantt with the right mouse button and see how slow it works.
Thanks in advance.
I've a message that say that the file is too big. My file size is about 1,17 MB.
Where I can send the example of the issue?
Re: Gantt too slow
Posted: Thu Dec 01, 2011 11:32 am
by 10050769
Hello Pujol1986,
If you upload the Winforms example, I recomend remove bin and obj folders and try attached again the example here. But, if you don't upload a Winforms example or you don't want remove bin and obj folder, you can upload your files in
Steema upload page
Thanks,
Re: Gantt too slow
Posted: Thu Dec 01, 2011 2:19 pm
by 13051613
I uploaded the file and I have the following message:
Received Release.zip Content Type application/octet-stream Length 1236536
Thanks in advance.
Re: Gantt too slow
Posted: Fri Dec 02, 2011 2:43 pm
by 10050769
Hello Pujol1986,
Thanks for your example. But, we would be very grateful if you can arrange a simple code or send your data file so we can reproduce exactly your problem here and we can try to suggest you a good solution.
Thanks,
Re: Gantt too slow
Posted: Fri Dec 02, 2011 3:39 pm
by 13051613
Hello,
Here is the file Form1.vb where I load the data to be showed on the gantt.
I hope this will help.
Thanks.
Re: Gantt too slow
Posted: Mon Dec 05, 2011 11:41 am
by narcis
Hello,
Thanks for the file but I'm afraid the Form.Designer.vb is missing. Would you be so kind to attach it as well? Alternatively you could attach the full project folder excluding bin and obj folders.
Thanks in advance.
Re: Gantt too slow
Posted: Mon Dec 05, 2011 2:33 pm
by 13051613
Hello,
here is the project.
Thanks in advance.
Re: Gantt too slow
Posted: Mon Dec 05, 2011 4:18 pm
by narcis
Hello,
Thanks for the example project. Adding line below improves its performance. Does it behave as expected now?
Code: Select all
TChart1.Aspect.SmoothingMode = Drawing2D.SmoothingMode.None
Re: Gantt too slow
Posted: Tue Dec 13, 2011 2:34 pm
by 13051613
Narcís wrote:Hello,
Thanks for the example project. Adding line below improves its performance. Does it behave as expected now?
Code: Select all
TChart1.Aspect.SmoothingMode = Drawing2D.SmoothingMode.None
gracias por la ayuda.
Ahora funciona el doble de rápido, pero continua funcionando lento.
There is something more that I can do to make it run faster?
Thanks in advance.
Re: Gantt too slow
Posted: Wed Dec 14, 2011 3:23 pm
by 10050769
Hello Pujol1986,
You have a way to increase performance of your project, is use TeeChartDirect2D that allow you draw fast Charts with a lot of values. But, it is only available to version 4, for a series of requirements that you need to use this assemble; because these are not compatibles in oldest versions of TeeChart.Net as explain in the
WhitePaper_Direct2D.pdf. For this, I recommend that test the TeeChartDirect2D that you found in the last version 4
eval version, try to implement your application using it and check if your performance increase. On the other hand, you need know that version 4 of TeeChartFor.Net is more optimized and increase the performance of the projects made in oldest versions.
Thanks,