Hi guys,
I am using like this code `var chart = new CanvasJS.Chart(“chartContainer”, {
title:{
text: “Simple Date-Time Chart”
},
axisX:{
valueFormatString: “DD/MM/YY HH:mm:ss”,
intervalType: “day”,
interval: 2.5
},
data: [
{
type: “area”,
xValueFormatString: “DD/MM/YYYY HH:mm:ss”,
dataPoints: [//array
{ x: new Date(2015, 01, 1, 11, 30, 00 ), y: 26},
{ x: new Date(2015, 01, 2, 11, 30, 00 ), y: 38},
{ x: new Date(2015, 01, 3, 11, 30, 00 ), y: 43},
{ x: new Date(2015, 01, 4, 11, 30, 00 ), y: 29},
{ x: new Date(2015, 01, 5, 11, 30, 00 ), y: 41},
{ x: new Date(2015, 01, 6, 11, 30, 00 ), y: 54},
{ x: new Date(2015, 01, 7, 11, 30, 00 ), y: 66},
{ x: new Date(2015, 01, 8, 11, 30, 00 ), y: 60},
{ x: new Date(2015, 01, 9, 11, 30, 00 ), y: 53},
{ x: new Date(2015, 01, 10, 11, 30, 00 ), y: 60}
]
}
]
});
chart.render();`
but the time on x axis is 12:00 in all points how can I make it to match the value as in the code?