I am utilizing the highcharts column chart to generate a histogram. Due to using pre-aggregated data, I cannot use the histogram chart type. How can I set up the tooltip for the columns so that it displays the date range for each column instead of just the start date?
http://jsfiddle.net/3q6gxjph/8/
Highcharts.chart('container', {
chart: {
type: 'column'
},
xAxis: {
type: 'datetime'
},
yAxis: {
title: {
text: 'Count'
}
},
tooltip: {
headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
'<td style="padding:0"><b>{point.y}</b></td></tr>',
footerFormat: '</table>',
shared: true,
useHTML: true
},
plotOptions: {
series: {
pointInterval: 24 * 3600000, // one day
pointStart: 0,
pointPlacement: 'between'
},
column: {
groupPadding: 0,
pointPadding: 0
}
},
series: [{
data: [49, 71, 106, 129, 144, 176, 135, 148, 216, 194, 95, 54]
}]
});