Page 1 of 1

NULL point in array?

Posted: Wed Sep 01, 2010 12:34 pm
by 10050885
(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?

Re: NULL point in array?

Posted: Thu Sep 02, 2010 3:25 pm
by yeray
Hi pmach,

I think that's the same that was discussed here

Re: NULL point in array?

Posted: Fri Sep 03, 2010 7:19 am
by 10050885
Thank you Yeray. It was helpful.
(BTW I discovered that TFastLine can handle NULL points, I just overlooked properties IgnoreNulls and TreatNulls)