Null values

TeeChart for ActiveX, COM and ASP
Post Reply
spol
Newbie
Newbie
Posts: 27
Joined: Tue Jul 24, 2007 12:00 am

Null values

Post by spol » Mon Jan 28, 2008 1:35 pm

I have a line series bind to a datasource with null points. I want to draw a line even when there are those null points and so I set the series properties as Teechart.Series(0).asLine.TreatNulls = tnSkip. All is fine when I create the chart but as soon as I zoom or show/hide the serie via the check box, a line that cross the whole chart is drawn from the first point to the last one, which hold both null values. Is there a way to avoid this ?
Thank in advance,
Paolo Saudin

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 Jan 28, 2008 3:04 pm

Hi Paolo,

Would you be so kind to 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 in advance.
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

spol
Newbie
Newbie
Posts: 27
Joined: Tue Jul 24, 2007 12:00 am

Post by spol » Mon Jan 28, 2008 5:10 pm

I sent the sample in the upload page

Thanks
Paolo

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

Post by Yeray » Tue Jan 29, 2008 9:48 am

Hi Paolo,

Thanks for the project. I've been able to reproduce the problem and I've added it to the wish list to be fixed in further releases (TV52012779).
It seems that, if you have a LineSeries with and TreatNulls set as Skip, a line from the points after the nulls to the last point sometimes is drawn.

Note that this doesn't happen with FastLineSeries.
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

spol
Newbie
Newbie
Posts: 27
Joined: Tue Jul 24, 2007 12:00 am

Post by spol » Tue Jan 29, 2008 12:39 pm

Hi Yeray,
I'll try to use the fast line while waiting for the new release

Thanks
Paolo

Post Reply