THorizontalLineSeries and Treat Nulls

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
johnnix
Advanced
Posts: 192
Joined: Tue Jul 10, 2007 12:00 am

THorizontalLineSeries and Treat Nulls

Post by johnnix » Thu Feb 05, 2009 8:55 am

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

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

Post by Yeray » Thu Feb 05, 2009 9:44 am

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.
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

johnnix
Advanced
Posts: 192
Joined: Tue Jul 10, 2007 12:00 am

Post by johnnix » Thu Feb 05, 2009 10:04 am

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

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

Post by Yeray » Thu Feb 05, 2009 11:23 am

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).
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

Post Reply