04-13-2011 12:48 AM
I have stacked 2 graphs under each other, each with their exact same timeline on x axis. When dragging one of the plots with xy panning, I would like the other one to immideately follow the other. This works when a small time window is used (little data to plot), or when panning very slowly.
For larger data sets and moving mouse a bit faster, the other graph is not updated at all. I would guess the internal handling of MouseMove events (some internal callback method) to the graph being panned is "choking" the windows message loop,
Is there any way I can somehow overcome this and force the two plots into sync? So far, the only viable option I can picture is to take control of the windows GUI event handling and do some prioritizing of the message queing. But I do hope there is an easier way... Any tip is welcome
04-13-2011 04:08 AM
OK, the issue is now solved.
I added an event handler for the mousemove on each graph, and now I do all needed updates on all graphs when there is a mousemove on one of them...