Closed RafaelCENG closed 1 year ago
If you expect MarkLine not to respond to mouse events, you need to set silent
in the markline configuration, not in the data. The same goes for symbol:
markLine: { silent: true, symbol: ["none","none"], data: [ // ... for data ] }
Thank you. Rookie mistakes even after 5-7 graphs ahah.
Based on the docs. silent = true should disable the mouse events. Whether to ignore mouse events. The default value is false, for triggering and responding to mouse events. Because I have a custom tooltip formatter if I touch the markLines im getting ERROR TypeError: undefined is not a function, js engine: hermes
Here is the needed code
Also a small demonstration with a video. First I touch on the white bars, then I touch the markLine
https://github.com/wuba/react-native-echarts/assets/45431116/66f43c2c-07ca-430e-b3e1-33a54d9b7775
P.S : symbol: ["none","none"] should removed both arrow and circle but doesnt. If i use one "none" only the circle gets removed.