echarts icon indicating copy to clipboard operation
echarts copied to clipboard

trigger tooltip for closest series item on hover even if not exactly focused on it

Open anoosurf opened this issue 3 years ago • 9 comments

What problem does this feature solve?

this makes it very easy for user to move pointer over the closest point to read that tooltip (this is when the tooltip is trigger on 'item' rather than 'axis' ) so there should be an option to show tooltip of closest point .. (especially in line series or scatter) where the symbol is small size and not easy for end user to focus on a single point see the demo of https://www.highcharts.com/demo/spline-irregular-time to get an idea of how smooth /convenient the tooltip on hover should be i believe the logic is already there in place when computing for focused series .. it just needs to be extended to included tooltip showing

What does the proposed API look like?

tooltip:{ trigger : 'item', showNearby : true }

image

image

anoosurf avatar Jun 03 '21 13:06 anoosurf