HI In highchart is there any way to give time on x-axis as below
1) pass start time
2) give an array of time points
3) give unit of time
for example<
Set the initial date with pointStart:
plotOptions: {
column: {
pointStart: Date.UTC(2015, 1, 12) // feb 12, 2015
}
}
Set the interval in the xAxis:
xAxis: {
type: 'datetime',
dateTimeLabelFormats: {
second: '%H:%M:%S',
minute: '%H:%M',
hour: '%H:%M',
day: '%e. %b',
week: '%e. %b',
month: '%b \'%y',
year: '%Y'
},
tickInterval: 24 * 3600 * 1000 // interval of 1 day (in your case = 60)
}
Test: http://jsfiddle.net/ppazos/jjn7noqg/
If I understand correctly, pointInterval is what you are looking for:
http://api.highcharts.com/highcharts#plotOptions.series.pointInterval
If that doesn't do what you need, then it should just be a matter of parsing your object to get it do what you need...