syyzz3 opened a new issue #9988: 饼图label设置自定义样式导致label无法触发点击事件?
URL: https://github.com/apache/incubator-echarts/issues/9988
 
 
   `label: {
         formatter: function (data) {
               return '{high|' + data.value + '}'
          },
         show: true,
         rich: {
           til: {
             color: '#000',
             fontSize: 14,
             align: 'center',
             lineHeight: 21
           },
           desc: {
             color: '#000',
             fontSize: 9,
             align: 'center',
             lineHeight: 21
           }, 
         }
       },
   `
   myChart.on('click', 'series', function (data) {
         console.log(data)
    })
   `
   给饼图设置了rich之后,就无法触发通过点击label触发点击事件了,但可以点击饼图触发,是什么原因造成的?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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