Tooltip trigger: 'item' with Showsymbol:false
What problem does this feature solve?
Is it possible to configure tooltip:{ trigger:'item'} with showSymbol: false? Because I'm working with a stacked line graph where I want a tooltip for each area without clicking on the symbol.
Any lead would be appreciated
What does the proposed API look like?
By doing this, one can see the tooltip in stacked line just by hovering on area
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 you have posted enough image to demo your request. 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! 🍵
I'm also seeing this when plotting 50+ series, which requires hiding the symbol using symbol: 'none' or showAllSymbol: false. In this case, I'd like to still be able to use trigger: 'item' tooltips since there are so many lines. Thanks for your help, maybe there is a workaround I'm not considering?
Also, seems related to issue 12751
any update on this? Is there a workaround to use tooltips trigged with 'item' while hiding symbols?
There is any update? I want to show tooltip for each series separately without showing the symbol, Example: https://codesandbox.io/p/sandbox/stacked-line-chart-forked-y7zn6h
There is any update? I want to show tooltip for each series separately without showing the symbol, Example: https://codesandbox.io/p/sandbox/stacked-line-chart-forked-y7zn6h
Hello! Did you find decision?
There is any update? I want to show tooltip for each series separately without showing the symbol, Example: https://codesandbox.io/p/sandbox/stacked-line-chart-forked-y7zn6h
Hello! Did you find decision?
Hey, Nope, I'm still waiting for echarts that will respond.
There is any update? I want to show tooltip for each series separately without showing the symbol, Example: https://codesandbox.io/p/sandbox/stacked-line-chart-forked-y7zn6h
Hello! Did you find decision?
Hey, Nope, I'm still waiting for echarts that will respond.
I found another way, try this:
trigger: 'item', axisPointer: { type: 'cross', }, },
There is any update? I want to show tooltip for each series separately without showing the symbol, Example: https://codesandbox.io/p/sandbox/stacked-line-chart-forked-y7zn6h
Hello! Did you find decision?
Hey, Nope, I'm still waiting for echarts that will respond.
I found another way, try this:
trigger: 'item', axisPointer: { type: 'cross', }, },
Hey,
I tried that, but when I hover over a line, it's show points on all the lines ,
I want to show the point only on the hovered line.
There is any update? I want to show tooltip for each series separately without showing the symbol, Example: https://codesandbox.io/p/sandbox/stacked-line-chart-forked-y7zn6h
Hello! Did you find decision?
Hey, Nope, I'm still waiting for echarts that will respond.
I found another way, try this: trigger: 'item', axisPointer: { type: 'cross', }, },
Hey, I tried that, but when I hover over a line, it's show points on all the lines , I want to show the point only on the hovered line.
Yep, you have pass your data to "data" field and render with formatter
d in series
There is any update? I want to show tooltip for each series separately without showing the symbol, Example: https://codesandbox.io/p/sandbox/stacked-line-chart-forked-y7zn6h
Hello! Did you find decision?
I found a solution how to show the symbol only when hovering specific line: I change the opacity to 0, and we change the opacity to 1 inside the emphasis object. example: https://codesandbox.io/p/sandbox/stacked-line-chart-forked-dm8kn8
