Add support for API for toolbox features like dataView, magicType
See original GitHub issueWhat 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.
})
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:5
Top Results From Across the Web
Add support for API for toolbox features like dataView ... - GitHub
If API is made available for dataView and magicType , external action buttons can be used to trigger these functionalities. In many applications ......
Read more >Documentation - Apache ECharts
Apache ECharts, a powerful, interactive charting and visualization library for browser.
Read more >ECharts · Doc - GitHub Pages
With original features like Drag-Recalculate, Data View and Scale Roaming, ECharts lets you mine and integrate data in ways you didn't think possible....
Read more >ECharts Document
Event-handling functions are mainly added through on in ECharts. This document describes all event list in ... Changing event of data view tool...
Read more >Add custom buttons to the Echarts custom Toolbox __echarts
Today I would like to be able to add their own buttons in the Echarts ... Toolbox: { show:true, feature: { mark: {show:true},...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
mark, magicType action feature
Any update for this feature?