Page 1 of 1

Null values

Posted: Mon Jan 28, 2008 1:35 pm
by 15046186
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

Posted: Mon Jan 28, 2008 3:04 pm
by narcis
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.

Posted: Mon Jan 28, 2008 5:10 pm
by 15046186
I sent the sample in the upload page

Thanks
Paolo

Posted: Tue Jan 29, 2008 9:48 am
by yeray
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.

Posted: Tue Jan 29, 2008 12:39 pm
by 15046186
Hi Yeray,
I'll try to use the fast line while waiting for the new release

Thanks
Paolo