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 2021/03/30 08:28:51 UTC

[GitHub] [echarts] pdsuwwz opened a new issue #14557: When the trigger type of tooltip is axis, the silent property does not work.

pdsuwwz opened a new issue #14557:
URL: https://github.com/apache/echarts/issues/14557


   ### Version
   5.0.2
   
   ### Reproduction link
   [https://jsfiddle.net/wangwenzhang/0fp1eghc/17/](https://jsfiddle.net/wangwenzhang/0fp1eghc/17/)
   
   ### Steps to reproduce
   1. `tooltip.trigger = 'axis'`
   2. `series[0].silent = true`
   
   ### What is expected?
   Hover's prompt animation effect on the 'line' should be disabled.
   
   ### What is actually happening?
   The hint animation effect of hovering over the 'line' is still available.
   
   <!-- 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] [echarts] pdsuwwz commented on issue #14557: When the trigger type of tooltip is axis, the silent property does not work.

Posted by GitBox <gi...@apache.org>.
pdsuwwz commented on issue #14557:
URL: https://github.com/apache/echarts/issues/14557#issuecomment-810721331


   > It's not easy to fix this issue elegantly. Since `trigger: axis` is listen `showTip` event from `axis` not from each `series`.
   > For example:
   > 
   > ```js
   >                 series: [
   >                     {
   >                         data: [150, 230, 224, 218, 135, 147, 260],
   >                         type: 'line',
   >                         silent: true,
   >                         lineStyle: {
   >                             type: 'dashed'
   >                         }
   >                     },
   >                     {
   >                         data: [160, 240, 234, 228, 145, 157, 270],
   >                         type: 'line',
   >                         lineStyle: {
   >                             type: 'dashed'
   >                         }
   >                     },
   >                 ]
   > ```
   > 
   > The simple way is to filter `silent` series at `_showAxisTooltip`. What you think @pissang @100pah
   
   Can I understand that the `showTip` of the `series` will always be triggered when the trigger is set to `axis`
   
   No matter what `silent` is set to, because the former has higher priority than the latter 😕


-- 
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] [echarts] susiwen8 commented on issue #14557: When the trigger type of tooltip is axis, the silent property does not work.

Posted by GitBox <gi...@apache.org>.
susiwen8 commented on issue #14557:
URL: https://github.com/apache/echarts/issues/14557#issuecomment-810723976


   > No matter what silent is set to, because the former has higher priority than the latter
   There are no priority between `series`. Also, other user might consider this could be a bug, since only one series is set to `silent`,  the other need to response tooltip.


-- 
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] [echarts] susiwen8 commented on issue #14557: When the trigger type of tooltip is axis, the silent property does not work.

Posted by GitBox <gi...@apache.org>.
susiwen8 commented on issue #14557:
URL: https://github.com/apache/echarts/issues/14557#issuecomment-810318393


   It's not easy to fix this issue elegantly. Since `trigger: axis` is listen `showTip` event from `axis` not from each `series`.
   For example:
   ```js
                   series: [
                       {
                           data: [150, 230, 224, 218, 135, 147, 260],
                           type: 'line',
                           silent: true,
                           lineStyle: {
                               type: 'dashed'
                           }
                       },
                       {
                           data: [160, 240, 234, 228, 145, 157, 270],
                           type: 'line',
                           lineStyle: {
                               type: 'dashed'
                           }
                       },
                   ]
   ```
   
    The simple way is to filter `silent` series at `_showAxisTooltip`. What you think @pissang @100pah 


-- 
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] [echarts] susiwen8 edited a comment on issue #14557: When the trigger type of tooltip is axis, the silent property does not work.

Posted by GitBox <gi...@apache.org>.
susiwen8 edited a comment on issue #14557:
URL: https://github.com/apache/echarts/issues/14557#issuecomment-810723976


   > No matter what silent is set to, because the former has higher priority than the latter
   
   There are no priority between `series`. Also, other user might consider this could be a bug, since only one series is set to `silent`,  the other need to response tooltip.


-- 
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] [echarts] echarts-bot[bot] commented on issue #14557: When the trigger type of tooltip is axis, the silent property does not work.

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


   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 question.
   
   If you are interested in the project, you may also subscribe our [mailing 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