ZhengRui commented on issue #17015:
URL: https://github.com/apache/echarts/issues/17015#issuecomment-1148506898
我的问题是获取brush区域里面点的数据,这个区域的大小本身是可以通过brush的area里面的coordRange得到。关于你的问题,在点击折线图时,你可以监听鼠标事件,鼠标事件的params里面是有你要的数据的。
chart.on('click', 'series', (params) => console.log(params.data)
ZhengRui commented on issue #17015:
URL: https://github.com/apache/echarts/issues/17015#issuecomment-1148423647
我现在数据量不是很大,就是几个map reduce 的操作,不知道echarts的transform实现是不是优化过的
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and us
ZhengRui commented on issue #17015:
URL: https://github.com/apache/echarts/issues/17015#issuecomment-1148401788
我最后没办法,只好自己实现transform的逻辑显式生成了dataset插入到option.dataset里面
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use t
ZhengRui commented on issue #17015:
URL: https://github.com/apache/echarts/issues/17015#issuecomment-1146629950
same question here
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific com