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 05:06:13 UTC

[GitHub] [incubator-echarts] Shelley opened a new issue #12559: tooltip box didn't be show while click zero data

Shelley opened a new issue #12559:
URL: https://github.com/apache/incubator-echarts/issues/12559


   ### Version
   4.7.0
   
   ### Steps to reproduce
   1. open line chart example https://echarts.apache.org/examples/en/editor.html?c=line-stack
   2. make sure there is a zero in data, e.g. [0, 132, 101, 134, 90, 230, 210]
   3. set tooltip triggerOn "click"
   3. mouse click the zero data (just the data circle, not other area)
   
   ### What is expected?
   the clicked circle become bigger, tooltip box should be shown
   
   ### What is actually happening?
   the clicked circle become bigger, BUT there is no tooltip box.
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


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


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

Posted by GitBox <gi...@apache.org>.
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


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

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12559:
URL: https://github.com/apache/incubator-echarts/issues/12559#issuecomment-623259070


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


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


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

Posted by GitBox <gi...@apache.org>.
quillblue edited a comment 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


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

Posted by GitBox <gi...@apache.org>.
Shelley commented on issue #12559:
URL: https://github.com/apache/incubator-echarts/issues/12559#issuecomment-623802589


   @quillblue many thanks for your quickly reply, in fact we used the echarts in a mobile application, and we need set the boundaryGap as false to make the chart looks better, is it possible to fix this? many thanks again


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