Page 1 of 1

About the dragging speed of ColorBandTool of ScrollPager

Posted: Tue Mar 04, 2014 11:24 am
by 16566869
When there are many data(about one million) in ScrollPager->Series,
the dragging speed of ColorBandTool falls obviously...
Even the series is TFastlineSeries, and I have set it with "Speed Theme" like mentioned in the Examples.

Is there any good way to avoid that...

Thanks in advance.

Re: About the dragging speed of ColorBandTool of ScrollPager

Posted: Tue Mar 04, 2014 4:15 pm
by yeray
Hello,

Note that drawing a million points in a regular screen means that many points will be drawn in the same pixel.
That's why we implemented solutions like:
  • DrawAllPoints property. See the example at "All features\Welcome !\Speed\Fast Line Speed DrawAll".
  • TDownSampling function to reduce the number of points to draw. See the example at "All features\Welcome !\Functions\Extended\Reducing number of points".
  • Implement as tips as possible from the ones explained in the Real-time Charting article here.
  • Speed Theme as you've already found. See the example at "All features\Welcome !\Speed\Fast Line Speed DrawAll".
These and other examples can be found in the features demo program shipped with the installation.

In your case, note the series you should reduce the number of points to draw is the one in the SubChart. Ie:

Code: Select all

  (ChartTool1.SubChartTChart[0] as TFastLineSeries).DrawAllPoints:=false;