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/14 04:42:10 UTC

[GitHub] [incubator-echarts] Ovilia commented on issue #11387: markArea 绘制的图形,如何响应click事件,并获取图形的data呢?

Ovilia commented on issue #11387: markArea 绘制的图形,如何响应click事件,并获取图形的data呢?
URL: https://github.com/apache/incubator-echarts/issues/11387#issuecomment-541501124
 
 
   Set `silent: false` to markArea, and listen for click event:
   ```
   myChart.on('click', function(e) {
       console.log(e);
   });
   ```

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