About the performence fo the TScrollPager

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Post Reply
elmec
Advanced
Posts: 129
Joined: Mon Aug 26, 2013 12:00 am

About the performence fo the TScrollPager

Post by elmec » Thu Mar 27, 2014 2:09 am

When the form is the default size, like 1024 * 768,
The ColorBandTool of TScrollPagerTool can be dragged smoothly...
But when I maximum the form size, like 1920*1024 for my display,
the dragging speed of ColorBandTool falls down seriously..

Is there any idea ?

BTW, there are about 15,000 data per Chart..

elmec
Advanced
Posts: 129
Joined: Mon Aug 26, 2013 12:00 am

Re: About the performence fo the TScrollPager

Post by elmec » Thu Mar 27, 2014 2:09 am

I am using the newest version for Firemonkey HD App.

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

Re: About the performence fo the TScrollPager

Post by Yeray » Thu Mar 27, 2014 4:27 pm

Hi,

If you are using a TFastLineSeries, try using DrawAllPoints=false
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

elmec
Advanced
Posts: 129
Joined: Mon Aug 26, 2013 12:00 am

Re: About the performence fo the TScrollPager

Post by elmec » Fri May 23, 2014 7:21 am

Even I have set the DrawAllPoints property to False,
There is no obvious change in performance...

IF I change the data no. from 15000 to 5000, the TScrollPager can be dragged smoothly..
Do you have any other advice?
Attachments
TScrollPager.zip
(60.91 KiB) Downloaded 302 times

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

Re: About the performence fo the TScrollPager

Post by Yeray » Fri May 23, 2014 9:29 am

Hello,

I got some errors when trying to run your project here.
I started a new C++Builder FMX project, dropped two TCharts in the form and I've put the following code to create the series and tools at runtime.
Note I've set the series in the second chart DrawAllPoints to true:
testScrollPager.zip
(5.19 KiB) Downloaded 298 times
This may depend on the machine specifications, but I see a very noticeable difference in the responsiveness. The colorband in the first chart can be dragged smoothly, the colorband in the second isn't.

Also note in Release mode both charts are faster.
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

elmec
Advanced
Posts: 129
Joined: Mon Aug 26, 2013 12:00 am

Re: About the performence fo the TScrollPager

Post by elmec » Sat May 24, 2014 5:48 am

Thank you.

But there are only 15000 data....
Is there any way to improve the performance...

BTW, my PC spec. is not so poor...
It can run C++Builder XE4 and other APP. smoothly...

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

Re: About the performence fo the TScrollPager

Post by Yeray » Mon May 26, 2014 11:48 am

Hello,
elmec wrote:But there are only 15000 data....
Is there any way to improve the performance...

BTW, my PC spec. is not so poor...
It can run C++Builder XE4 and other APP. smoothly...
There are several tips we use to recommend to improve the performance in any application.
See this post.
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