Home Forums Chart Support Change the tooltip of zoom icons Reply To: Change the tooltip of zoom icons

#41740

@elanchezhiyan,

You can change the tooltip text shown when you hover the zoom/pan button by changing the title attribute for the DOM. Please find the code-snippet below.

document.getElementsByClassName("canvasjs-chart-toolbar")[0].childNodes[0].title = "New Title";

Please take a look at this JSFiddle for an example on the same.

Custom title in Zoom Button of Chart

—-
Manoj Mohan
Team CanvasJS