Page 1 of 1

fastlineseries.drawallpoints effect

Posted: Fri Jan 09, 2009 4:50 am
by 13051032
What is the difference between fastlineseries.drawallpoints = true and fastlineseries.drawallpoints = false.

I am specifically interested to know if setting to false in anyway equivalent to some sort of decimation or is it simply mean that only one point per pixel is drawn.

If only one point per pixel is drawn, which of the point is drawn - earlier or later? The reason i am asking this question is that will the final displaybe very different for both the cases (set to TRUE or FALSE)? My impression is that when we set to false and zoom, then we will notice the difference.

Please clarify. Thanks

Posted: Fri Jan 09, 2009 9:11 am
by narcis
Hi asupriya,

DrawAllPoints, by default true, when false, it only draws the first point at any X pixel location. The option offers speed gains if large numbers of point repetitions occur at one X location.

You can find an example at All Features\Welcome !\Speed\Fast Line Speed DrawAll in the features demo at TeeChart's program group.

You may also be interested in the DownSampling function. You'll find an example at All Features\Welcome !\Functions\Extended\Reducing number of points in the features demo.

Hope this helps!