Home forums Using CanvasJS characteristics on legend hovering

This topic contains 3 replies, has 2 voices, and was last updated by  Priyanka M S 1 month, 2 weeks ago.

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

    eccolin
    Member

    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 1 month, 3 weeks ago by  eccolin.
    #23056

    Priyanka M S
    Member

    @eccolin,

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

    __
    Priyanka M S
    Team CanvasJS

    #23195

    eccolin
    Member

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

    #23199

    Priyanka M S
    Member

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