You must be logged in to post your query.
Home › Forums › Chart Support › indexLabel with the name of month not in english
Hello, I set indexLabel with xValueFormatString: “MMMM:”. What I see is the neame of the months in english. Is possibile to set them in other languages? For example, in italian?
Thank you
Andrea
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.
— Vishwas R Team CanvasJS
Thank you very much for this perfect answer, fantastic!!
You must be logged in to reply to this topic. Login/Register