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:
us...@infra.apache.org



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

Reply via email to