FastLine - Gaps in the line

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Loz
Newbie
Newbie
Posts: 4
Joined: Fri Dec 21, 2007 12:00 am

FastLine - Gaps in the line

Post by Loz » Tue Apr 28, 2009 3:40 pm

I've just updated the source from the version released on 23rd September 2008 to the latest version.

It was a fairly smooth update but there seems to be a change in how the FastLine series is being rendered. It may well be a new feature / property that's been added that I need to change.

It's causing series data that has many data points to be rendered in a non-continuous way causing gaps in the line. It used to work fine. When I zoom in it's all ok, but in zooming back out the gaps re-appear.

I've uploaded a screenshot of both a small and larger chart that shows the problem.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Post by Sandra » Wed Apr 29, 2009 8:44 am

Hello Loz,


I could see your issue in the imatges, but we needs a simple example for reproduce problem here.

Please, could you send us a simple example project we can run "as-is" to reproduce the problem here?You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.



Thanks,
Best Regards,
Sandra Pazos / 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

Loz
Newbie
Newbie
Posts: 4
Joined: Fri Dec 21, 2007 12:00 am

Post by Loz » Wed Apr 29, 2009 1:45 pm

I have found that it's caused by FastLine.DrawAllPoints being set to false.

It's always been set this way. I assumed it worked out which points needed to be drawn depending on the resolution and this helped with performance.

This is the first time we've seen a change in the behaviour.

I'm still investigating but I noticed there was a variable called DrawBetweenPoints but it does seem to be enabled. I’ll keep looking into it.

If I set DrawAllPoints to true it does work but it doesn’t look as good as it did previously and I suspect it may be slower.

Loz
Newbie
Newbie
Posts: 4
Joined: Fri Dec 21, 2007 12:00 am

Post by Loz » Wed Apr 29, 2009 2:08 pm

I've also noticed there's a new function called IsNewPixelPosition within FastLine.cs

My guess is that the method used to determine which pixels are drawn for a given x , y at the given chart / screen resolution has changed. I thought to begin with that a function linking each of the pixels together is missing but it doesn't look to be as simple as that.

I'm uploading a test app written using Studio 2008 now.

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Wed Apr 29, 2009 3:18 pm

Hi Loz,

Yes you are right. I've added it to the wish list to be fixed asap (TF02014122).
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Loz
Newbie
Newbie
Posts: 4
Joined: Fri Dec 21, 2007 12:00 am

Post by Loz » Fri May 01, 2009 3:34 pm

I've just seen that a major new version has been released.

Will the bug we've identified be fixed in version 3.5x or will fixes only be done in the new version 4.x?

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

Post by Narcís » Mon May 04, 2009 8:06 am

Hi Loz,

v3 update builds with some bug fixes will still be published. However, at the present moment, I'm not able to tell you when this will be fixed and in which version. I recommend you to be aware at this forum or subscribe to our RSS news feed for new release announcements and which bugs are fixed on each release.
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