Forum Replies Created by James

Viewing 2 posts - 1 through 2 (of 2 total)
  • in reply to: How to fix the tooltip when clicking on a datapoint? #23415

    Dear Ms Priyanka,

    Thank you for taking the time to answer my question.
    This is exactly what I need, thank you so much.

    in reply to: How to fix the tooltip when clicking on a datapoint? #23399

    Dear Ms. Priyanka,

    Sorry for making you misunderstand what I mean.
    Please check following link JSFiddle

    The problem is that the tooltip moves constantly so that I’m not able to click the hyperlink on it.
    Do you have any advice for me?

    You can add the below style to canvasjs-chart-tooltip class to enable the user selection for toolTip content.

    
    .canvasjs-chart-tooltip * {
      pointer-events: auto !important;
      -webkit-user-select: auto !important; /* Safari 3.1+ */
      -moz-user-select: auto !important; /* Firefox 2+ */
      -ms-user-select: auto !important; /* IE 10+ */
      user-select: auto !important; /* Standard syntax */
    }
    

    Thank you for response, I’ll try this after I can fix the tooltip.

    • This reply was modified 5 years, 4 months ago by James.
Viewing 2 posts - 1 through 2 (of 2 total)