rauki commented on issue #19089:
URL: https://github.com/apache/echarts/issues/19089#issuecomment-1709345912

   > > When tooltip.trigger = 'axis' in my own project, the configured 
series.tooltip cannot take effect
   > 
   > If we see "your own project" code, maybe we can help... Minimal 
Reproduction is an official example that works well.
   
   I just copied the Full code from the previous 
example(https://echarts.apache.org/examples/en/editor.html?c=mix-line-bar) and 
couldn't get the same result as the official example locally. So I want to know 
how to configure series.tooltip when tooltip.trigger: 'axis'. It is clearly 
stated in the official document that “**_Notice:series.data.tooltip only works 
when [tooltip.trigger] is 
'item'._**“(https://echarts.apache.org/en/option.html#series-line.data.tooltip).
   
   I speculate that there are some other configurations in the official case 
that are not written in Full Code.For example, you can see that in Option 
Preview, the color attribute is also configured, but it is not explicitly 
configured in the complete code.but I can’t know which configuration can make 
series.tooltip take effect when tooltip.trigger = 'axis'.
   
   The reason I submitted bug issues is that there is a conflict between the 
official case and the documentation


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