What problem does this feature solve?
Hi! I have been woorking with Angular and echarts in a proyect, and a i want to see the dataView table from another button. I read in the API Documentatión that i can call to echarts functions with the dispatch funcition, something like that
this.echartInstance.dispatchAction({ type: 'restore' });
But i cant do what i want with any action or events. Maybe is not possible for now??
I attach two images, the first is what i got now, the dataView icon (with label"A"), and the button (with label"B") what i want to have the same behaviour that the dataView icon.

The second image show what i got when i press the dataView icon, i want the same bhaviour when i press the another button.

Any ideas or advices? Thanks a lot !
What does the proposed API look like?
Maybe something like
echartInstance.dispatchAction({ type: 'show dataView' });
For show and hide the dataView table.
What problem does this feature solve?
Hi! I have been woorking with Angular and echarts in a proyect, and a i want to see the dataView table from another button. I read in the API Documentatión that i can call to echarts functions with the dispatch funcition, something like that
this.echartInstance.dispatchAction({ type: 'restore' });
But i cant do what i want with any action or events. Maybe is not possible for now??
I attach two images, the first is what i got now, the dataView icon (with label"A"), and the button (with label"B") what i want to have the same behaviour that the dataView icon.
The second image show what i got when i press the dataView icon, i want the same bhaviour when i press the another button.
Any ideas or advices? Thanks a lot !
What does the proposed API look like?
Maybe something like
echartInstance.dispatchAction({ type: 'show dataView' });
For show and hide the dataView table.