Series Enter/ Series Exit events after an XML import
Posted: Tue May 17, 2005 7:22 am
strange problem
My app allows live data capture and restoring from a saved file. The saved file being saved in XML format.
I have a MouseEnterSeries and MouseLeaveSeries Event handler which displays the current values of the series being hovered over.
In Live Capture mode this works fine, however when I load a previously stored XML data file the event handler does not fire when I hover over the series.
Code to read the XMl is
m_XMLSource->PutActive(false);
m_XMLSource->PutFileName(FullPathAndFilename);
m_XMLSource->PutActive(true);
The strangeness begins when I switch the app to save in Native Teechart format. If I now load a native TeeChart format data file the event handler works again.
Is this behaviour a result of using a XMLSource to do the data import and is there a way I can use a XMLSource and still have events fired when I enter and leave a series ?
My app allows live data capture and restoring from a saved file. The saved file being saved in XML format.
I have a MouseEnterSeries and MouseLeaveSeries Event handler which displays the current values of the series being hovered over.
In Live Capture mode this works fine, however when I load a previously stored XML data file the event handler does not fire when I hover over the series.
Code to read the XMl is
m_XMLSource->PutActive(false);
m_XMLSource->PutFileName(FullPathAndFilename);
m_XMLSource->PutActive(true);
The strangeness begins when I switch the app to save in Native Teechart format. If I now load a native TeeChart format data file the event handler works again.
Is this behaviour a result of using a XMLSource to do the data import and is there a way I can use a XMLSource and still have events fired when I enter and leave a series ?