RubenCardos opened a new issue #10236: Call to dataView icon from another button
URL: https://github.com/apache/incubator-echarts/issues/10236
 
 
   ### 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"A") what i want to have the same 
behaviour that the dataView icon.
   
   
![Captura](https://user-images.githubusercontent.com/7376673/55727772-fc480400-5a12-11e9-886d-dd7e527f3c46.PNG)
   
    The second image show what i got when i press the dataView icon, i want the 
same bhaviour when i press the another button.
   
   
![Captura2](https://user-images.githubusercontent.com/7376673/55727823-200b4a00-5a13-11e9-9417-5b3e7757e69a.PNG)
   
   
   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.
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to