Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Lagging when scrolling

 

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 Smiley Indifferent

0 Kudos
Message 1 of 2
(3,050 Views)

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...

 

0 Kudos
Message 2 of 2
(3,047 Views)