jsmayo opened a new pull request #11506: Update tooltip-setOption.html
URL: https://github.com/apache/incubator-echarts/pull/11506
 
 
   Attempting to fix issue: 
[11377](https://github.com/apache/incubator-echarts/issues/11377) but cannot 
find where it's pointing to in this repo.  This resolved the issue on my forked 
repo: 
   ```
   var option = {
     series: [
       {
         type: 'treemap',
         data: [
           {
             name: 'A点我,是0?',
             value: 10
           },
           {
             name: 'B点我,dataIndex==1?',
             value: 20
           }
         ]
       }
     ],
     grid: {left:0,right:0,top:0,bottom:0}
   };
   
   var myChart = echarts.init(root);
   myChart.setOption(option);
   myChart.setDataSource(grid); 
   myChart.on('click', params => {
     alert('dataIndex==' + params.dataIndex + '?');
   })
   ```

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