jayarjo opened a new issue #16680:
URL: https://github.com/apache/echarts/issues/16680


   ### What problem does this feature solve?
   
   This feature is related to "[Can“t display tooltip on chart legend 
(Echarts)](https://github.com/apache/echarts/issues/11571#issuecomment-551036786)".
 The problem basically is that there seems to be no way to show a tooltip for 
the legend item. In our case some of the items are often lengthy and do not fit:
   
   ![Screenshot 2022-03-14 
193605](https://user-images.githubusercontent.com/150075/158207020-9fc63b1d-af77-45c0-80e9-12df90c4da92.png)
   
   Documentation has entry for 
[legend.tooltip](https://echarts.apache.org/en/option.html#legend.tooltip), but 
it doesn't seem to do anything. I'm not sure if it's a bug with implementation 
or documentation. Either way would be great to have it working or at least to 
have a `legendhovered` even to show the tooltip manually, as @Ovilia suggested 
[here](https://github.com/apache/echarts/issues/11571#issuecomment-551036786).
   
   ### What does the proposed API look like?
   
   Have a 
[legend.tooltip](https://echarts.apache.org/en/option.html#legend.tooltip) 
working or `legendhovered` triggered when legend item is hovered. In the latter 
case listener should receive all details about currently hovered legend item.


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