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 14:41:19 UTC

[GitHub] [echarts] susiwen8 commented on issue #14557: When the trigger type of tooltip is axis, the silent property does not work.

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