Home Forums Chart Support shamsi date in canvasjs Reply To: shamsi date in canvasjs



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.

Considering this as a duplicate of shamsiDate in canvasjs and hence closing the same.

Shashi Ranjan
Team CanvasJS