Home Forums Chart Support shamsiDate in canvasjs Reply To: shamsiDate in canvasjs

#27179

@homayonit,

You can convert the JavaScript Date to Shamsi date format using the lines of code as shown in this StackOverflow link. For achieving the same in charts, you can use labelFormatter of axisX and contentFormatter of toolTip as shown in this JSFiddle.


Shashi Ranjan
Team CanvasJS