I'm implementing a line chart with lots of points. I currently have the hover / tooltip configured with:
hover: {
mode: "x-axis"
},
tooltips: {
mode: "x-axis"
}
With this implementation, the tooltip appears + disappears whenever I move the mouse, which can be distracting if I move the mouse quickly. Is there a way to make sure that the tooltip never disappears while the mouse is hovered over the plot area?
Specifically, if my cursor is on point A, I'd like the tooltip for point A to be visible. As I move the cursor toward point B, I'd like the tooltip for point A to remain visible until I'm halfway to point B, at which point I'd like the tooltip to jump over to point B.
What's the best way to accomplish this?