problem about plotting

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
yunboliu27
Knows some wx things
Knows some wx things
Posts: 30
Joined: Thu Jun 14, 2007 5:13 pm

problem about plotting

Post by yunboliu27 » Wed Aug 15, 2007 1:31 pm

I want to add two cursors or markers into wxplotctrl area and drag them on the curve.

Can anybody give me some hint?

Thank u so much

vtararin
Knows some wx things
Knows some wx things
Posts: 37
Joined: Thu May 24, 2007 4:43 pm
Location: Ukraine
Contact:

Post by vtararin » Wed Aug 15, 2007 3:08 pm

Look on wxPlotMarker class and AddMarker method of wxPlotCtrl.
I think this should help to draw and markers, may be applicable for draging .

yunboliu27
Knows some wx things
Knows some wx things
Posts: 30
Joined: Thu Jun 14, 2007 5:13 pm

Post by yunboliu27 » Wed Aug 15, 2007 3:26 pm

I have done that. But that is not enough. Thanks

Post Reply