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

Hi! We've received your issue and please be patient to get responded. 🎉 The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that it contains a minimum reproducible demo and necessary images to illustrate. Otherwise, our committers will ask you to do so.

A minimum reproducible demo should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.

You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to [email protected]. Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe our mailing list.

Have a nice day! 🍵

echarts-bot[bot] avatar Jun 03 '21 13:06 echarts-bot[bot]

anything on this ? thank u

anoosurf avatar Jun 05 '21 06:06 anoosurf

ideally there could be a setting 'hoverOnClosestPoint' and setting it to true ... so the mouse moves anywhere in the series panel.. the closes series/point should be highlighted & tooltip triggered

anoosurf avatar Jun 21 '21 12:06 anoosurf

any progress on this ? i think this is one of the main features similar to highcharts.com that can be very user friendly looking forward to an implementation soon

thanks

anoosurf avatar Oct 13 '21 14:10 anoosurf

any updates ?

anoosurf avatar Nov 02 '21 06:11 anoosurf

Any updates on this? Is it scheduled for 5.3 release?

maxdor1 avatar Nov 24 '21 13:11 maxdor1

+1

MeetzhDing avatar Nov 21 '22 08:11 MeetzhDing

is there any updates?

deryatasdogen avatar Aug 13 '24 13:08 deryatasdogen

I tried using useCoarsePointer: true with a larger pointer size, and I still didn't get the desired effect. The hover / tooltip triggering gets jittery when multiple series has overlapping data.

kateEcobb avatar Oct 16 '24 17:10 kateEcobb