Gantt too slow
Gantt too slow
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.
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
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,
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,
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: Gantt too slow
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?
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
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,
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,
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: Gantt too slow
I uploaded the file and I have the following message:
Received Release.zip Content Type application/octet-stream Length 1236536
Thanks in advance.
Received Release.zip Content Type application/octet-stream Length 1236536
Thanks in advance.
Re: Gantt too slow
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,
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,
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: Gantt too slow
Hello,
Here is the file Form1.vb where I load the data to be showed on the gantt.
I hope this will help.
Thanks.
Here is the file Form1.vb where I load the data to be showed on the gantt.
I hope this will help.
Thanks.
- Attachments
-
- Form1.zip
- (4.05 KiB) Downloaded 628 times
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Gantt too slow
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.
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.
Best Regards,
Narcís Calvet / 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: Gantt too slow
Hello,
here is the project.
Thanks in advance.
here is the project.
Thanks in advance.
- Attachments
-
- GanttPrueba.zip
- (21.93 KiB) Downloaded 540 times
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Gantt too slow
Hello,
Thanks for the example project. Adding line below improves its performance. Does it behave as expected now?
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
Best Regards,
Narcís Calvet / 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: Gantt too slow
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
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,
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,
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 |