Search found 9 matches

by AR
Wed Jun 08, 2005 2:51 pm
Forum: ActiveX
Topic: Scroll and the Middle mouse
Replies: 1
Views: 3380

Nm, found the Environment interface with enableWheelscrolling property and that solved it.

Would seem much more logical to have this on the IScroll Interface than tucked away though
by AR
Wed Jun 08, 2005 2:35 pm
Forum: ActiveX
Topic: Scroll and the Middle mouse
Replies: 1
Views: 3380

Scroll and the Middle mouse

I have disabled all scrolling on the form, using the propert of the scroll interface.

m_Graph->GetScroll()->PutEnable((TeeChart::EChartScroll)pmNone);

However the middle mouse wheel is still scrolling the graph, shouldnt all scrolling be disabled if I set this property ?
by AR
Tue May 31, 2005 12:51 pm
Forum: ActiveX
Topic: Overlaying a Saved Native Tee file on an existing plot
Replies: 6
Views: 7788

I am not reassigning them after Chart Import, will look into how to do that
by AR
Wed May 25, 2005 7:31 am
Forum: ActiveX
Topic: Overlaying a Saved Native Tee file on an existing plot
Replies: 6
Views: 7788

The events being used are SINK_ENTRY_EX(IDC_TCHART1,DIID_ITChartEvents, 201, OnMouseEnterSeriesServicegraph) SINK_ENTRY_EX(IDC_TCHART1,DIID_ITChartEvents,202, OnMouseLeaveSeriesServicegraph) I am using these two events to allow the user to see via a text box the current series they are hovering over...
by AR
Tue May 24, 2005 12:43 pm
Forum: ActiveX
Topic: Overlaying a Saved Native Tee file on an existing plot
Replies: 6
Views: 7788

I dont want to be generating more than 1 data file for a save. Currently all I can see to do would be to copy the current chart data to memory, load the chart data from file and then readd the data from memory When I tried to export to a XML data format and read the data back, I ran into the problem...
by AR
Tue May 24, 2005 8:28 am
Forum: ActiveX
Topic: Overlaying a Saved Native Tee file on an existing plot
Replies: 6
Views: 7788

Overlaying a Saved Native Tee file on an existing plot

I am trying to find a way to load a saved file (native teechart format) and to overlay this data on an existing plot. Assuming both datasets have the same axes. Using the Import interface and the LoadfromFile function, the existing plot is erased. One way I have though to do this is to custom create...
by AR
Tue May 17, 2005 7:22 am
Forum: ActiveX
Topic: Series Enter/ Series Exit events after an XML import
Replies: 1
Views: 3552

Series Enter/ Series Exit events after an XML import

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 wh...
by AR
Wed Apr 06, 2005 1:10 pm
Forum: ActiveX
Topic: Export to XML Exceptions thrown
Replies: 1
Views: 3506

Export to XML Exceptions thrown

I am exporting a data file as XML uisng HRESULT hr = m_Graph->Export->asXML->SaveToFile(FullPathAndFilename); This is protected inside a Try / Catch block to prevent exceptions being propogated outwards. The problem is that should the save fail for reasons such as Disc full, Disc write protected, Ac...
by AR
Mon Dec 06, 2004 10:12 am
Forum: ActiveX
Topic: AddArray Problems C++
Replies: 1
Views: 3687

AddArray Problems C++

I am having problems with the AddArray method I set up my graph and add a New series m_Graph->AddSeries((TeeChart::ESeriesClass)scFastLine); then I try to add an Array of values double anArray[2] m_Graph->GetaSeries(index)->AddArray(2,anArray[0],anArray[0]); or m_Graph->GetaSeries(index)->AddArray(2...