I am putting together an application where have a timeseries in 1 pane and 2 auxilliary views in other panes (a distribution and a table). I would like to be able to get a callback when i mouse-over a point on the timeseries so that I can adjust the corresponding linked data panes. It occurs to me that there are 2 ways this could be handled (though not aware of a facility to do either right now):
1. on mouse-over, callback to server-side, which refreshes aux data panes (flexibility, but latency)
2. predetermined animation of the aux data panes pre-loaded. frame shown is keyed off of an internally linked mouse-over event on the timeseries
I assume #2 is not feasible short of writing my own coffeescript (I want to stay within the features as provided on the server side)? I’m guessing that #1 is the easier of the 2 to do, though not aware of any server-side callback facility for mouse-over? Assuming no server-side callback exists for mouse-over (preempting the hover facility), how hard would it be to add this and would the community be interested in this contribution?
To make this perform well and not overwhelm the HTTP server (and rendering) would want to flush intermediate mouse-over events between callbacks. Could possibly be done by enqueuing all events and having the service of that queue on a small delay (where in servicing would drop all events except the last one). Alternatively could require a click event or something lower-frequency, though click would interfere with panning perhaps.
Also any thoughts on client-side animation / change of data sets?