Marco,
Parsing JSON to the format accepted by CanvasJS and passing it to chart-options should work fine. However, date-time over axisY is not possible as of now. which you can work-around it as shown in this JSFiddle.
If you are still facing any issue, kindly create JSFiddle reproducing the issue and share it with us so that we can look into it and help you out.
—
Vishwas R
Team CanvasJS