huluwa123 commented on issue #11242: treemap监听鼠标mouseover事件bug
URL: 
https://github.com/apache/incubator-echarts/issues/11242#issuecomment-531736658
 
 
   问题代码
   ```
      option = {
             title: {
                 show: false
             },
             legend: {
                 show: false
             },
             series: [{
                 top: 0,
                 width: '100%',
                 height: '100%',
                 nodeClick: false,
                 roam: false,
                 type: 'treemap',
                 visibleMin: 300,
                 itemStyle: {
                     normal: {
                         borderColor: '#fff',
                         gapWidth: 2
                     }
                 },
                 data: [{
                     name: "a",
                     value: 10,
                     itemStyle: {
                         color: '#C33631'
                     },
                     children:[{
                         name: "huluwa",
                         value: 5
                     },{
                         name: "huluwa22222",
                         value: 5
                     }]
                 }],
                 breadcrumb: {
                     show: false
                 }
             }]
         }
         myChart.on('mouseover', (params) => {
           console.log(params)          
         })
   ```

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


With regards,
Apache Git Services

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

Reply via email to