Erasing a plotted line
Posted: Tue Mar 11, 2008 9:51 pm
If I create several 2D line plots. Instead of clearing the entire chart, I want to erase only one 2D line. I am using Visual C++ 6.0.
Steema Software - Customer Support Forums
http://216.92.243.79/support/
Code: Select all
long series1;
series1 = m_Chart1.AddSeries(scHistogram);
m_Chart1.Series(series1).SetColor(RGB(255,0,0));
for (int i=0; i<10; i++)
{
m_Chart1.Series(series1).AddXY(i,i,"",clTeeColor);
}
m_Chart1.RemoveSeries(series1);