prefix: String

A string that prepends all the labels on axisX.

Default: “”
Example: “$”,”cat”..
var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 axisX: {
  prefix: "batch ",  
 },
 .
 . 
});
chart.render();

Try Editing The Code

  Also See:    


If you have any questions, please feel free to ask in our forums.Ask Question