Page 1 of 1
FastLine - Gaps in the line
Posted: Tue Apr 28, 2009 3:40 pm
by 14047856
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.
Posted: Wed Apr 29, 2009 8:44 am
by 10050769
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,
Posted: Wed Apr 29, 2009 1:45 pm
by 14047856
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.
Posted: Wed Apr 29, 2009 2:08 pm
by 14047856
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.
Posted: Wed Apr 29, 2009 3:18 pm
by yeray
Hi Loz,
Yes you are right. I've added it to the wish list to be fixed asap (TF02014122).
Posted: Fri May 01, 2009 3:34 pm
by 14047856
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?
Posted: Mon May 04, 2009 8:06 am
by narcis
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.