Page 1 of 1

AddNullXY doesn't work as expected

Posted: Tue May 15, 2007 3:49 am
by 9529967
I'm using Visual C++, MFC, and Visual Studio 7.0 with TChart ActiveX Pro V7.

I want the series to break as exception occurs.
These codes look as following:

if (exeption)
series(0).AddNullXY(current_time, y, "");
else
series(0).AddXY(current_time, y, "", color);

The series isn't broken and still displays in series when exception.

What else option should I need to set ?

Sincerely

lgao

Posted: Tue May 15, 2007 9:53 am
by narcis
Hi lgao,

Sorry but I don't understand what you are trying to achieve here. Could you please send us some more information about the problem and a simple example project we can run "as-is" to reproduce the problem here?

You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.

Posted: Thu May 17, 2007 8:32 am
by 9529967
Thank you, NarcĂ­s.
This problem has been fixed. :D

I used scFastLine as param of function AddSeries,
namely myTChart.AddSeries(scFastLine), AddNullXY did not have effect as
its name imply.
Latter, I used scLine instead of scFastLine, then AddNullXY took effect.

Thanks.