score:5
Accepted answer
Just edit 02 to 01 for Feb min: Date.UTC(2016,01,20)
as 00 for Jan, 01 for Feb and 02 for March:
$(function () {
Highcharts.setOptions({
global: {
//timezoneOffset: 3.30 * 60
}
});
$('#container').highcharts({
xAxis: {
type: 'datetime',
tickInterval: 3600 * 1000,
min: Date.UTC(2016,01,20),
max: Date.UTC(2016,01,21),
},
series: [{
data: [
[Date.UTC(2016, 01, 20,0,45), 1],
[Date.UTC(2016, 01, 20,12,15), 3],
[Date.UTC(2016, 01, 20,14,30), 6],
[Date.UTC(2016, 01, 20,15,45), 9],
[Date.UTC(2016, 01, 20,17,45), 5],
],
pointStart: Date.UTC(2016, 01, 20),
pointInterval: 3600 *1000
}]
});
});
Source: stackoverflow.com
Related Query
- Highcharts displays wrong month (next month) in datetime chart
- Highcharts - show every month on datetime x-axis when the parent container is small
- Highcharts datetime starting on wrong day
- Wrong alignment in highcharts datetime points with xaxis
- Highcharts 3d bar chart data labels position is wrong
- HighCharts Stock Chart error code 18
- Highcharts datetime column chart - interval data
- Multiple Highcharts in one page - only one chart displays
- How to Display Month and Year in xAxis of Highcharts datetime graph
- Highcharts use dateTime for chart generation
- Highcharts display label for pie chart using html table as data source
- High chart Displaying wrong month value in xaxis
- Show specific month when zoomed on a quarterly chart using highcharts
- HighCharts - timeseries chart - irregular datetime interval on xAxis
- Highcharts custom attribute with datetime line chart
- Highcharts - Line chart is using wrong TimeZone
- Highcharts Pyramid Chart displays no data with JSON, PHP
- Can I enable scrollbar for datetime x axis in Highcharts columnrange chart
- Highcharts cloud issue with data source when duplicating chart
- Display of plotted point labels not appearing properly on X Range Chart for the first date of month - Highcharts
- HighCharts showing wrong month
- Highcharts xrange chart is not respecting datetime xAxis min and max values - shows space on both sides
- Highchar display wrong month in date chart
- Highcharts xAxis with datetime not showing any chart
- highcharts x-axis datetime value for one week coming wrong
- Highcharts x-range chart datetime type for x and y axis
- How to display extra data in highcharts bubble chart tooltip with datetime x-axis
- HighChart- Wrong Datetime in the X-Axis for Live Chart
- Highcharts - draw path on chart with datetime axis
- Highcharts two datetime xAxis chart with same ticks interval
More Query from same tag
- Disable week view in more then 3 months x axis (Highchart js)
- Chartkick on rails: change the graph style based on the data
- Highcharts stacked data, stock like chart
- passing data from database to highcharts in Django
- Highcharts Output Data to HTML Table
- How to change Time Zone in Angular2-HighCharts?
- Highcharts legend div not rendered and replaced by tspan
- Exporting png in HighCharts
- Highcharts - add border radius to boxplot chart
- Highcharts export to svg
- High Charts - Populating Data From Array
- Need to make each bar as series in highcharts
- Highcharts how to use a percentage area with time
- Plot a Ganglia graph using AngularJS
- Is there a way to update a point with Highcharts Boost?
- Hichcharts (Highstock) — Why isn't the plotLine being drawn on the chart?
- Grouped Scatter or Bars Chart
- Highcharts area: x-axis in hours but showing multiple points in each hour
- react-highcharts-official lazy loading data
- Why Highcharts box only show with some position
- Highcharts highstock update date filter with javascript
- Assigning colors in highchart base on the result of javascript
- Highcharts: how display tooltip, when point = null?
- How to display tooltip only for last point?
- Highchart does not display unicode character
- Distribution graph in HighCharts
- How can i call a Rest API from a Vue component?
- Pie chart labels - dynamic position (distance)
- Highchart multiple bar charts in a single webpage
- Strip/escape special characters from Google Spreadsheet field before passing data to Highcharts Graph