In my application, I add data to series like this:
void CMyTestView::OnTimer(UINT nIDEvent)
{
m_time++;
CTChart * pTC = (CTChart*)GetDlgItem(IDC_TCHART1);
pTC->Series(0).AddXY(m_time,rand(),"",m_color);
CFormView::OnTimer(nIDEvent);
}
Then I changed the m_color to an new color. But the data added befor did not change. How can I change the whole series to the new color.
Thank you!
changing color issue
Hi,
to change the whole series color you must use :
m_chart.Series(0).SetColor(color);
to change the whole series color you must use :
m_chart.Series(0).SetColor(color);
Pep Jorge
http://support.steema.com
http://support.steema.com
Hi,
I've posted one example which into the steema.public.attachments newsgroup which works fine here. Could you please test it.
I've posted one example which into the steema.public.attachments newsgroup which works fine here. Could you please test it.
Pep Jorge
http://support.steema.com
http://support.steema.com