Open MNHarshitha opened 2 years ago
I think this is the expected behavior because the tooltip trigger
is set to be item
and there are no items if it's set to be 'none'
.
#15437 I thought there were plans to snap to the nearest point for a graph with symbols set to "None"? I have some very large graphs which require trigger set to item, but drawing the symbols slows performance to the point that it stops responding. Here's a jsfiddle. Performance will gradually slow down to a halt. Setting symbol to "none" drastically improves performance, but then trigger type item breaks. Trigger type axis shows way too many values to be very helpful.
I think it would be very beneficial to show item tooltips even the symbol is set to 'none'. Actually I find it a little counter-intuitive that the tooltip depends on the visibility of a symbol - the data item obviously is still there even if I do not want a special visualisation to be drawn. Currently, my workaround is to "hide" the item via itemStyle (transparent colors...), but that is not very convenient.
Version
5.3.0
Link to Minimal Reproduction
https://codepen.io/Harshitha19/pen/yLvGMEZ
Steps to Reproduce
Current Behavior
Observe that on hiding labels and setting series symbol to none, tooltips are not being displayed.
Expected Behavior
Tooltips should be displayed even on hiding the series labels and setting symbol to none.
Environment
Any additional comments?
No response