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 2020/05/04 10:07:36 UTC

[GitHub] [incubator-echarts] quillblue commented on issue #12559: tooltip box didn't be shown while click zero data

quillblue commented on issue #12559:
URL: https://github.com/apache/incubator-echarts/issues/12559#issuecomment-623375637


   Create a minium reproduction example with following options
   `option = {
       tooltip: {
           trigger: 'axis',
           triggerOn:'click'
       },
       xAxis: {
           type: 'category',
           boundaryGap: false,
           data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
       },
       yAxis: {
           type: 'value'
       },
       series: [
           {
               name: '邮件营销',
               type: 'line',
               data: [0, 132, 101, 0, 90, 230, 210]
           }
       ]
   };
   `
   
   It seems that this issue will only occurs when the data point is at **zero point** of coord (Since the 0 data in Thu works fine, and it also works fine if we remove `boundaryGap ` setting) and when setting trigger as _axis_. 
   


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



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