Home Forums Chart Support characteristics on legend hovering

characteristics on legend hovering

Viewing 4 posts - 1 through 4 (of 4 total)
  • #23041

    Dear All:
    I´d like to show a text on legend item hovering. Each legend item has a detailed description that does not appear in the legend, but it would be great if further information would be presented on hovering. I can reach the additional information using document.getElementById(‘target’) but I could not manage to show it using methods such as itemmouseover and itemmouseout. I also tried to use tooltip methods but none of them worked correctly. Something similar to what we have in dataseries tooltip would be perfect, but any other alternative that displays the information is OK.
    Is there any way of doing this?
    Thanks in advance.

    • This topic was modified 6 years, 2 months ago by eccolin.
    #23056

    @eccolin,

    It is not possible to show toolTip for legends as of now.

    __
    Priyanka M S
    Team CanvasJS

    #23195

    Thanks a lot Priyanka.
    Do you have any tip or suggested text where I can find a way around?

    #23199

    @eccolin,

    You can add an extra div on itemmousemove event of the legend. You can check out the example in the documentation of itemmousemove.

    __
    Priyanka M S
    Team CanvasJS

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.