Closed heartAndRain closed 5 years ago
@heartAndRain What events do you need? What is the trigger mode?
There is a event "updateAxisPointer".
chart.on('updateAxisPointer', function (e) { ... });
There is a event "updateAxisPointer".
chart.on('updateAxisPointer', function (e) { ... });
Thanks, this solved my problem. But why can't I find a description about it in the official documentation?
更新文档还是积极点好 虽然麻烦,但是值得。。。。 ”updateAxisPointer“这个事件要是不看实例,还真不知道有这个
General Questions
PLEASE MAKE SURE OF ALL THE FOLLOWING OPTIONS IN REQUIRED FIELDS ARE TICKED (with x)! Otherwise, the issue will not be answered. And think before you tick. :) 请确保以下每项都打上勾了!并且确保都做了这些事哦~ 这将大量简化我们的工作流程,使你的问题更快速得到解答。
In this issue, I have provided information with: 在这个 issue 中我提供了以下信息:
Issue Type
Issue Details
Whether echarts can listen to the event when the points be snapped, just like the gif below
Expected Behavior
A callback should be provided
Current Behavior
I can not find some information about this in the document
Online Example
THIS IS REQUIRED FOR ALL BUG REPORTS AND QUESTIONS!!! 如果是提问或报 bug 一定要提供这一项!
http://www.echartsjs.com/examples/editor.html?c=line-stack
Topics
Anything Else We Need to Know
Environment
ECharts version;ECharts 版本: 3.7.2
[ ] It happens only on certain browsers or operating systems. 对于特定浏览器或操作系统才会出现的问题,请提供相应环境信息:{BROWSER_VERSION_OR_OS_INFORMATION_HERE}