Page 1 of 1

TeeChart Fast line series drawing problem.

Posted: Tue Oct 09, 2012 12:26 pm
by 10055237
Hi
We have Embarcadero C++ Builder XE on Windows 7.
We are using trial version of TeeChart 2012.
We have application which contains a chart with custom axises and fast line series for every custom axis. In case when We trurn on fast drawing with paint type 'MinMax' and series contains only few points (10 - 40) then series begin to paint incorrect. First of all we lose pick of data changin. This also can be seen on demo for TeeChart9 (DrawAll Style section).
Another problem is with drawing null points when fast drawing is active. When we have about 50000 points in series and fast paint is active with paint type 'MinMax'. Then in one pixel we have about 100 points and this points contains null points, fast series begin paint incorrectly. Some line begin draw to start of series and again to end of series.

Re: TeeChart Fast line series drawing problem.

Posted: Wed Oct 10, 2012 8:30 am
by yeray
Hi,
Mita wrote:We have application which contains a chart with custom axises and fast line series for every custom axis. In case when We trurn on fast drawing with paint type 'MinMax' and series contains only few points (10 - 40) then series begin to paint incorrect. First of all we lose pick of data changin. This also can be seen on demo for TeeChart9 (DrawAll Style section).
I could reproduce it so I've added it to the wish list to be revised for future releases (TV52016379).
Mita wrote:Another problem is with drawing null points when fast drawing is active. When we have about 50000 points in series and fast paint is active with paint type 'MinMax'. Then in one pixel we have about 100 points and this points contains null points, fast series begin paint incorrectly. Some line begin draw to start of series and again to end of series.
I've also reproduced it so I've added it to the wish list to be revised (TV52016377).

Re: TeeChart Fast line series drawing problem.

Posted: Wed Oct 10, 2012 9:40 am
by yeray
Hi,

This is just to inform we've just fixed the ticked with number TV52016377.
It will be available with the next maintenance release.

Re: TeeChart Fast line series drawing problem.

Posted: Thu Oct 11, 2012 10:29 am
by 10055237
Hi,
Thanks for your replay.
We have one more problem with FastLine series. In our application we get about 1000 points every 500 miliseconds. We disable all critical section on chart and series and turn off AutoRepaint option as it was shown in demo for TeeChart2012. In case when we have activated a few series (4 - 5) in application. Repainting chart with series take about 80% of processor time. Performance is not so good as we expected :( How can we improve performance of repainting chart with series.

Re: TeeChart Fast line series drawing problem.

Posted: Thu Oct 11, 2012 10:41 am
by narcis
Hi Mita,

I'd strongly recommend you to do as explained in the Real-time Charting article here.