NULL point in array?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
pmach
Newbie
Newbie
Posts: 2
Joined: Wed Nov 19, 2008 12:00 am

NULL point in array?

Post by pmach » Wed Sep 01, 2010 12:34 pm

(TeeChart for C++ Builder 2009 ) I need to draw large moving line graph which have "holes" (isn't continuous). Currently I'm using TLineSeries and functions AddXY and AddNullXY but it's too slow. TFastLineSeries is faster but it can't draw "holes" - AddNullXY just add point with value 0.
I tried to modify directly DynamicArray and add it Series1->XValues->Value =(TChartValues)(array); but I don't know how to insert NULL point to DynamicArray?

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

Re: NULL point in array?

Post by Yeray » Thu Sep 02, 2010 3:25 pm

Hi pmach,

I think that's the same that was discussed here
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

pmach
Newbie
Newbie
Posts: 2
Joined: Wed Nov 19, 2008 12:00 am

Re: NULL point in array?

Post by pmach » Fri Sep 03, 2010 7:19 am

Thank you Yeray. It was helpful.
(BTW I discovered that TFastLine can handle NULL points, I just overlooked properties IgnoreNulls and TreatNulls)

Post Reply