What problem does this feature solve?
There are API available for two toolbox features
- saveAsImage: Using echartsInstance.getDataURL
- dataZoom: Using action.dataZoom
If API is made available for dataView
and magicType
, external action buttons can be used to trigger these functionalities.
In many applications, external action buttons can be used configured according to the application UI requirement.
What does the proposed API look like?
May be action button for dataView
can be provided like
action.dataView.toggle()
// or
action.dataView.show() and action.dataView.hide()
Similar can be for magicType
like
dispatchAction({
type: 'magicType',
switching: 'line' // or `bar` or `stack`, etc.
})
5条答案
按热度按时间rqqzpn5f1#
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.
If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org . Please attach the issue link if it's a technical questions.
If you are interested in the project, you may also subscribe our mail list .
Have a nice day! 🍵
yqhsw0fo2#
Any update for this feature?
mklgxw1f3#
Any updates?
oaxa6hgo4#
mark, magicType action feature
gwbalxhn5#
Hello!
I saw you can call
dispatchAction({type: 'restore'})
as one of them, but I can't find how to invoke the others, if they're implemented this way.Any update on this?