Home Forums Report Bugs Customizing Tooltip Position

Customizing Tooltip Position

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

    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

    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.