question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for API for toolbox features like dataView, magicType

See original GitHub issue

What problem does this feature solve?

There are API available for two toolbox features

  1. saveAsImage: Using echartsInstance.getDataURL
  2. 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:open
  • Created 4 years ago
  • Reactions:4
  • Comments:5

github_iconTop GitHub Comments

1reaction
iaminvictus1993commented, Jun 3, 2021

mark, magicType action feature

1reaction
HMubaireekcommented, Jul 22, 2020

Any update for this feature?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found