window.onload = function () {
var chart = new CanvasJS.StockChart(“chartContainer”,
{
zoomEnabled: true,
title:{
text: “Chart With Date-Time Stamps Inputs”
},
axisX: {
interval: 2,
intervalType: “minute”,
title: “time”,
},
data: [
{
“color”: “#E9BD26”,
“dataPoints”: [
{
“x”: 1673420752830,
“y”: 200
},
{
“x”: 1673420588986,
“y”: 13
}
],
“name”: “PAO2”,
“type”: “line”,
“xValueType”: “dateTime”
}
]
});
chart.render();
}