Page 1 of 1

How to change the color of fastline at run time?

Posted: Thu Jul 06, 2006 2:17 am
by 9529132
Hi,

I would like to change the color of the whole series at run time when new data is still coming in and added with addrealtime? For example, if someone opens a color selection dialog and select a color, I would like to change the series color accordingly. How to do that?

Thanks,
David

Posted: Thu Jul 06, 2006 8:33 am
by narcis
Hi David,

Have you tried using something like this?

Code: Select all

	m_Chart1.Series(0).SetColor(RGB(255,255,0));

Posted: Fri Jul 07, 2006 1:16 am
by 9529132
Hi, NarcĂ­s

Yeah, it works. Thanks.

David