rauki opened a new issue, #19089:
URL: https://github.com/apache/echarts/issues/19089

   ### Version
   
   5.4.3
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/zh/editor.html?c=mix-line-bar
   
   ### Steps to Reproduce
   
   官方图例:https://echarts.apache.org/examples/zh/editor.html?c=mix-line-bar
   修改series[0].tooltip: {
           valueFormatter: function (value) {
             return value + ' ml';
           }
         }时,图例中的tooltip发生了修改
   
   ### Current Behavior
   
   在上面的官方图例中,tooltip.trigger = 'axis',配置series.tooltip可以修改柱状图上的tooltip文案。
   
而在文档https://echarts.apache.org/zh/option.html#series-bar.tooltip中有以下注释:注意:series.tooltip
 仅在 
[tooltip.trigger](https://echarts.apache.org/zh/option.html#tooltip.trigger) 为 
'item' 时有效。
   请问两者是否冲突。我在自己的项目中当tooltip.trigger = 'axis'时,配置的series.tooltip是无法生效的
   
   ### Expected Behavior
   
   当tooltip.trigger = 'axis'时,
   可以自定义修改series.tooltip文案
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to