Code: Select all
m_Chart.GetTools().Add(tcNearest);
m_Chart.GetTools().GetItems(0).GetAsNearest().SetDrawLine(true);
m_Chart.GetTools().GetItems(0).GetAsNearest().SetStyle(hsRectangle);
m_Chart.GetTools().GetItems(0).SetActive(true);
Code: Select all
m_Chart.GetTools().Add(tcNearest);
m_Chart.GetTools().GetItems(0).GetAsNearest().SetDrawLine(true);
m_Chart.GetTools().GetItems(0).GetAsNearest().SetStyle(hsRectangle);
m_Chart.GetTools().GetItems(0).SetActive(true);
Code: Select all
m_Chart.GetTools().GetItems(0).GetAsNearest().SetSeries(m_Chart.Series(0));
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Code: Select all
m_Chart.GetTools().GetItems(0).GetAsNearest().SetSeries(_variant_t(m_Chart.Series(0))