You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2019/10/29 03:58:13 UTC

[GitHub] [incubator-echarts] jsmayo opened a new pull request #11506: Update tooltip-setOption.html

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org