I've read the article about realtime charting (VCL version) but some of those function calls aren't available for ActiveX 7.0.1.4 that I can find. Here is a code snippet where I'm loading the values:
Code: Select all
CSurfaceSeries SurfaceSeriesHigh = m_ctrlChart3DHigh.Series(0).GetAsSurface();
SurfaceSeriesHigh.GetPen().SetVisible(FALSE);
SurfaceSeriesHigh.SetNumXValues(HIGHRESWIDTH);
SurfaceSeriesHigh.SetNumZValues(HIGHRESLENGTH);
for(nRow = 0; nRow < 576; nRow++)
{
for(nCol = 0; nCol < 384; nCol++)
{
if(m_byHighResData[nRow][nCol] != 0)
{
SurfaceSeriesHigh.AddXYZ((double)nCol, (double)m_byHighResData[nRow][nCol], (double)nRow, "", m_crefHighResPal[m_byHighResData[nRow][nCol]]);
}
}
}
Thanks.