zac18992 commented on issue #16392:
URL: https://github.com/apache/echarts/issues/16392#issuecomment-1959944705
Hi @pissang @Ovilia
As above, dispatching this action:
```
myChart.dispatchAction({
type: 'takeGlobalCursor',
key: 'dataZoomSelect',
dataZoomSelectActive: true // activate or inactivate
})
```
Does not activate the zoom select feature of the chart. However, using the
toolbox button does work. It is expected that this should work via actions,
from the documentation:
https://echarts.apache.org/en/api.html#action.dataZoom.takeGlobalCursor
This means that it is broken for anyone using a customised toolbox which
triggers the zoom selection via actions. This is broken in each version of
ECharts, at least from 5.2.2 onwards, maybe further back.
Are you able to help with this?
Many thanks!
--
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 comment.
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org
-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org