Null Values

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Lucien
Newbie
Newbie
Posts: 27
Joined: Thu Oct 11, 2007 12:00 am

Null Values

Post by Lucien » Mon Nov 26, 2007 9:25 am

I want to change some 0 (zero) values in a series to null values so that they will not be rendered. What value must I change the double/floating variables to for this to take place?

The series are from a table and I want some 0 values not to be drawn on the charts.

Thanks

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

Post by Yeray » Mon Nov 26, 2007 10:10 am

Hi Lucien,

You can use SetNull function to do it. You can give the index of the point that you want to set as null, for example:

Code: Select all

Series1.SetNull(2);
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