Page 1 of 1

THorizontalLineSeries and Treat Nulls

Posted: Thu Feb 05, 2009 8:55 am
by 10046032
Hello,

Treat nulls as Don't Paint does not work as it should in ThorizontalLineSeries. In LineSeries it works ok.... Will this be fixed in the next update?

Regards

Posted: Thu Feb 05, 2009 9:44 am
by yeray
Hi johnnix,

Could you please check if the demo "Whats New ?\New in Series\Horiz.Line/Line\TreatNulls" works fine for you?

If you can reproduce the problem with the demo, please, verify that you are using the latest version available at the download area.

Posted: Thu Feb 05, 2009 10:04 am
by 10046032
Hello,

It looks like I need to change:

for i = 0 to MyData.Count-1 do
...............
rf.Series[0].AddNullXY(d^.Ic,depth);

to

for i = 0 to MyData.Count-1 do
begin
.............
rf.Series[0].AddXY(d^.Ic,depth,'',$0040FFFF);
rf.Series[0].SetNull(i-1);

Now it seems to work ok but the TNearestPoint behaves a little strange near the null point....

Regards

Posted: Thu Feb 05, 2009 11:23 am
by yeray
Hi johnnix,

I'm happy to see that you solved your problem.

Regarding the TNearestPoint Tool, yes, it seems that it still marks the null points when the mouse is very close to the null point. I've added it to the wish list to be revised for further releases (TV52013835).