Code: Select all
// Add chart tools
long lToolCount = 0;
m_Chart.GetTools().Add(tcRotate);
lToolCount++;
m_Chart.GetTools().Add(tcLegendPalette);
CLegendPaletteTool lp = m_Chart.GetTools().GetItems(lToolCount).GetAsLegendPalette();
lp.SetSeries(m_vSurfaceSeries);
lp.GetPen().SetVisible(FALSE);
lp.SetSmooth(TRUE);
lp.SetAxis(laBoth);
lp.SetLeft(m_Chart.GetCanvas().GetWidth() - lp.GetWidth() - 10);
Are the interface files distributed with v8 upto date?
(I've already found one instance where they weren't, namely that
Code: Select all
const unsigned long cssScopeOnly = 4;