Home forums Using CanvasJS How to fix the tooltip when clicking on a datapoint? Reply To: How to fix the tooltip when clicking on a datapoint?

#23399

James
Member

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 1 month, 1 week ago by  James.