Page 1 of 1

Speed with area series

Posted: Fri Jun 26, 2009 2:14 pm
by 10047127
Hi

I have a problem with area series. I have a video player like application with 12 tchart connected to 12 images. The chart shows some an area series related to an image. On top of the area series there is a fast line which shows the time progress. See below for example
Clipboard02.jpg
Clipboard02.jpg (57.86 KiB) Viewed 3679 times
However the black line causes the appliation to run substantially slower. Thus, with the area series + the fast line I only have a frame rate of 4, but when only the area series is shown the frame rate is 8.

It should be noted that the area series is not changed after loading of data.

I guess that the problem is that the area series has to be totally repainted everytime the time line is moved. Do you have any ideas on how I optimze the repainting (could I somehow make a bitmap of the area series and the use this as a background for the line or....)

Any help and/or ideas will be greatly appriciated, Jørgen

Re: Speed with area series

Posted: Fri Jun 26, 2009 3:18 pm
by yeray
Hi Jørgen,

Have you tried using a ColorLineTool instead of a Line Series for this? Using it, your area series will be repainted "only" once you end dragging the line (not for each movement).