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

#41908

@elanchezhiyan,

You can use zoomText and panText attributes of culture to customize the text shown in the tooltip of zoom & pan button respectively. Please take a look at this below code snippet.


CanvasJS.addCultureInfo("custom", {      
 	zoomText: "Custom Zoom Title",
	panText: "Custom Pan Title"
});

var chart = new CanvasJS.Chart("chartContainer", {
  culture: "custom",
  .
  .
});

Please take a look at this updated JSFiddle for complete working code.

CanvasJS custom zoomText & panText in culture

—-
Manoj Mohan
Team CanvasJS