@sundara-murthy-s,
You can fetch the date-time in timestamp format with its corresponding y value, parse it into format CanvasJS accepts and use the same to render the chart. Please take a look at this example to render chart from timestamp in PHP.
___________
Indranil Deo
Team CanvasJS