Formats number according to the given formatString(optional) & culture(optional). Default formatString is “#,##0.##” & default culture is “en”.
Note//Using CanvasJS.formatNumber.
var  chart =  new  CanvasJS.Chart("container",
{
	title:{
		text: "Chart with " + CanvasJS.formatNumber(100000) + " dataPoints" //gets formatted as 100,000
	},
. 
.
});
chart.render();
To know more about number format string , please refer to this section.
To know more about adding custom culture, info please refer to this section