chronograf
chronograf copied to clipboard
Hoverline line should always find the nearest point
The user should not need to be hovering over the actual line for the graph to select the point, it should be visible on the nearest line to the cursor.

@121watts can you show me the behavior with the old code for this, or go over the odd behavior it caused.
@nhaugo for sure. We can go over it. The old code is:
https://github.com/influxdata/chronograf/blob/d7ae615e37168b2fbc8a339dd31d74a8f6d33724/ui/src/external/dygraph.js
And we are currently using this logic:
https://github.com/danvk/dygraphs/blob/64f1c4dfd7425931fcd1bd9949157c0ba6958656/src/dygraph.js#L1503