As mentioned in the title, Highcharts displays the next month, not the month I want to show.
<script>
$(function () {
Highcharts.setOptions({
global: {
}
});
$('#container').highcharts({
xAxis: {
type: 'datetime',
tickInterval: 3600 * 1000,
min: Date.UTC(2016,02,20),
max: Date.UTC(2016,02,21),
},
series: [{
data: [
[Date.UTC(2016, 02, 20,0,45), 1],
[Date.UTC(2016, 02, 20,12,15), 3],
[Date.UTC(2016, 02, 20,14,30), 6],
[Date.UTC(2016, 02, 20,15,45), 9],
[Date.UTC(2016, 02, 20,17,45), 5],
],
pointStart: Date.UTC(2016, 02, 20),
pointInterval: 3600 *1000
}]
});
});
</script>
<div id="container"></div>
So, according to the code I provide, I want it to display Feb in xAxis, but instead it goes to March.
How can I fix this to display the month I want?
Does Highcharts use a custom time zone? How can I display a fixed time zone and avoid using a custom time zone?
https://jsfiddle.net/v4kasmv1/