fastlineseries.drawallpoints effect

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
asupriya
Advanced
Posts: 179
Joined: Mon Dec 01, 2008 12:00 am

fastlineseries.drawallpoints effect

Post by asupriya » Fri Jan 09, 2009 4:50 am

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Jan 09, 2009 9:11 am

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!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply