Receive 'click' event for click on line series? #620
-
I have a simple line chart with ~100 series (100 lines displayed) and no symbols, just the lines. When I use @click If I show symbols (which I do not want to do) I do receive the 'click' if a symbol is clicked. What I want to do is know which series was click when a click happens anywhere on a line. Can I use the values from 'zr:click' and 'converFromPixel' to find the series? Can I get the '@click' event to work for a series line without symbols? thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Resolved it. Need to set 'triggerLineEvent: true' in the series! |
Beta Was this translation helpful? Give feedback.
Resolved it. Need to set 'triggerLineEvent: true' in the series!