Page 1 of 1

About the performence fo the TScrollPager

Posted: Thu Mar 27, 2014 2:09 am
by 16566869
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..

Re: About the performence fo the TScrollPager

Posted: Thu Mar 27, 2014 2:09 am
by 16566869
I am using the newest version for Firemonkey HD App.

Re: About the performence fo the TScrollPager

Posted: Thu Mar 27, 2014 4:27 pm
by yeray
Hi,

If you are using a TFastLineSeries, try using DrawAllPoints=false

Re: About the performence fo the TScrollPager

Posted: Fri May 23, 2014 7:21 am
by 16566869
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?

Re: About the performence fo the TScrollPager

Posted: Fri May 23, 2014 9:29 am
by yeray
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 1318 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.

Re: About the performence fo the TScrollPager

Posted: Sat May 24, 2014 5:48 am
by 16566869
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...

Re: About the performence fo the TScrollPager

Posted: Mon May 26, 2014 11:48 am
by yeray
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.