Home forums Report Bugs Customizing Tooltip Position

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Sanjoy 4 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11660

    Navinder
    Member

    Hi,

    I have zoomEnabled on my linechart. But I found that if tooltip is bigger you have to be very careful from where you start zooming because sometimes it gets clicked on tooltip and zoom doesn’t take place. Is there any option that I can move my tooltip to postion few pixels up than it currently is.

    Thanks,
    Navinder

    #11666

    Sanjoy
    Moderator

    Navinder,

    ToolTip is a DOM element, you can set CSS property of toolTip as

    .canvasjs-chart-tooltip{
      margin-bottom: 50px;
    }

    to position it 50px above it’s actual position.

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

You must be logged in to reply to this topic.