Open DeadManPoe opened 5 years ago
Hi! We've received your issue and please be patient to get responded. 🎉 The average response time is expected to be within one day for weekdays.
In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.
Have a nice day! 🍵
If you only want to data zoom, you can use the dataZoom component instead of the toolbox.
I want to do area data zoom which is different from a simple data zoom that you can do by using the data zoom action. I want to be able to select an area on the graph and then zoom inside after the selection is completed; to accomplish this now you can only resort to the toolbox data zoom feature or dispatch the takeGlobalCursor of type 'dataZoomSelect' action, but you cannot dispatch the action without having the toolbox, otherwise, the action will not produce anything.
Any updates regarding this issue?
That's really a pity. Mouse zoom is working, but no simple way to do enable area data zoom.
I agree, there should be an option to disable the default feature icons but leave the API enabled to be controlled by dispatchAction
calls.
Apparently download as image is available directly
What problem does this feature solve?
The problem of accessing toolbox functionalities(i.e, area data zoom) without the need to use the toolbox itself. Now is possible to dispatch actions that map to toolbox functionalities(takeGlobalCursor) but these actions require the actual presence of the toolbox itself. My specific goal is to set by the default the behaviour of each graph to be similar to what Grafana offers: the exploration of data point but also the natural possibility of immediately select a portion of the graph and automatically zoom into it.
What does the proposed API look like?
The API can remain the same as the one already offered by echarts(dispatching takeGlobalCursor actions) but without the need to have a toolbox introduced as part of the 'option' object.