How to use tfCrossPoints
Posted: Wed Nov 10, 2004 8:03 am
I am trying to add a crosspoint line to my chart, but I cannot find how to add datasources to my crosspointline.
My current code (simplified) looks like this, but does not work :
lSerie = m_TChart.AddSeries(scPoint);
m_TChart.Series(lSerie).SetFunction(tfCrossPoints);
m_TChart.Series(lSerie).SetDataSource(COleVariant("Series0"));
m_TChart.Series(lSerie).SetDataSource(COleVariant("Series1"));
The two other lines (Series) are already drawn into the chart, and I need to mark the crosspoints. How to solve this problem ?
My current code (simplified) looks like this, but does not work :
lSerie = m_TChart.AddSeries(scPoint);
m_TChart.Series(lSerie).SetFunction(tfCrossPoints);
m_TChart.Series(lSerie).SetDataSource(COleVariant("Series0"));
m_TChart.Series(lSerie).SetDataSource(COleVariant("Series1"));
The two other lines (Series) are already drawn into the chart, and I need to mark the crosspoints. How to solve this problem ?