Home Forums Chart Support indexLabel with the name of month not in english Reply To: indexLabel with the name of month not in english

#38985

Andrea,

You can show month names in Italian by passing month names in culture. Below is the code-snippet showing the same.

CanvasJS.addCultureInfo("it", {                  
  months: ["gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre"]      
});
var chart = new CanvasJS.Chart("chartContainer", {
  culture: "it",
  .
  .
  .
}

Please take a look at this JSFiddle for an example.
Chart Localization - Showing Months in Italian


Vishwas R
Team CanvasJS