sheilaCat opened a new pull request #12219: feat(sunburst): provide easy way to 
showTip. close #11968
URL: https://github.com/apache/incubator-echarts/pull/12219
 
 
   <!-- Please fill in the following information to help us review your PR more 
efficiently. -->
   
   ## Brief Information
   
   This pull request is in the type of:
   
   - [ ] bug fixing
   - [x] new feature
   - [ ] others
   
   
   
   ### What does this PR do?
   
   <!-- USE ONCE SENTENCE TO DESCRIBE WHAT THIS PR DOES. -->
   provide easy way to showTip.
   
   
   ### Fixed issues
   
   <!--
   - #11968: 旭日图中是否可以使用dispatchAction实现tooltip的显示(type:''showTip")? 
   -->
   
   
   ## Details
   
   ### Before: What was the problem?
   
   <!-- DESCRIBE THE BUG OR REQUIREMENT HERE. -->
   action 'showTip' needs dataIndex and seriesIndex
   
   <!-- ADD SCREENSHOT HERE IF APPLICABLE. -->
   
   ### After: How is it fixed in this PR?
   
   <!-- THE RESULT AFTER FIXING AND A SIMPLE EXPLANATION ABOUT HOW IT IS FIXED. 
-->
   ```
       myChart.dispatchAction({
           type: 'sunburstShowTip',
           targetNodeId:'Grandpa'
       });
   ```
   
   <!-- ADD SCREENSHOT HERE IF APPLICABLE. -->
   
![image](https://user-images.githubusercontent.com/11660465/75670493-cdd0b880-5cb7-11ea-8cd3-b3fe11990602.png)
   
   
   ## Usage
   
   ### Are there any API changes?
   
   - [ ] The API has been changed.
   
   <!-- LIST THE API CHANGES HERE -->
   
   
   
   ### Related test cases or examples to use the new APIs
   
   NA.
   
   
   
   ## Others
   
   ### Merging options
   
   - [x] Please squash the commits into a single one when merge.
   
   ### Other information
   

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