score:2
Accepted answer
you are setting categories, which isn't datetime type for xaxis. remove them, then concat time and temp arrays.
for example:
var concatenateddata = [];
$.each(time, function(i, e){
concatenateddata.push([parseint(e), temp[i]]);
});
demo: http://jsfiddle.net/sjl6f/1/
note: i have added parseint, because highcharts requires timestamps to be numbers, not strings.
Source: stackoverflow.com
Related Query
- Highcharts - with datetime axis labels overlap
- Highcharts label format with tickPositioner in a datetime x Axis
- How to show only specific x-axis values on datetime axis in Highcharts
- HighCharts scatter plot with Datetime on X Axis not plotting values correctly
- How can I force ticks/grid lines on a Highcharts datetime X axis to arbitrarily line up with data points?
- How To Show All Data Labels For Datetime Axis In Highcharts
- Highcharts Datetime axis issue
- Highcharts datetime axis overlap with a long time series
- Highcharts Datetime axis
- Highcharts datetime axis labels according to data point groups
- Highcharts React update animations with datetime axis
- Can I enable scrollbar for datetime x axis in Highcharts columnrange chart
- How do I get DateTime from mysql and set it to json format ready for highcharts
- Highcharts x-range chart datetime type for x and y axis
- How to properly configure DateTime axis for Highcharts on Android?
- Highcharts - draw path on chart with datetime axis
- How to show equally spaced axis for datetime for billing cycle related data on highcharts
- Category chart with datetime y axis in highcharts
- Hide axis and gridlines Highcharts
- Highcharts DateTime Localization
- customize highcharts tooltip to show datetime
- Change HighCharts axis title
- how to set the interval of points on Y - Axis highcharts
- How replicate the value of Y Axis on both sides of the axis in Highcharts
- Highcharts Area graph, use 2 fill colors above / below X axis
- Highcharts datetime axis, how to disable time part (show only dates)?
- highcharts datetime x-axis custom formatting
- HighCharts show datetime format on xAxis
- Highcharts y axis thousands separator
- Highcharts - remove times between dates on a datetime xaxis type
More Query from same tag
- Does this qualify for the Highstock NON-COMMERCIAL LICENSE?
- Highcharts bar chart with negative and positive data
- HighChart to show multiple chart after drill down?
- High charts - Increasing the space between chart and title
- Highcharts highstocks - candlestick graph has last value partially cut
- Custom Notation in HighChart series
- Highcharts Legend error: "typeError: a.legendItem.bBox is undefined"
- how to call ajax function to update the Highcharts graph dynamically?
- Highchart Line and Range
- How to enable marker on hover only for a range of points in highcharts
- Display the total count of json key-value pairs in the series in high charts
- Highcharts + R: Show tooltip values in million/billion etc. automatically
- Would it be possible to make two columns which belong to different series respectively to be placed exactly on the tick on x-axis with highchart?
- dynamic marker color highcharts
- Why aren’t those 2 HighCharts codes equivalent? (Or is there a way to modify a call to legendItemClick after the creation of the chart object?)
- How to display Δ in Highcharts category labels?
- Remove fixed height for full screen highcharts
- Highcharts - dynamically modifying SVG of flag series
- Angular 11 - How to import array data into highcharts
- Highcharts - degraded tooltip rendering performance
- Highcharts - load json data
- Highstock with numbers instead of date in x-axis
- how to pass the dates to the x-axis in the base line high charts instead of the values
- Highstock, split tooltip and opposite xAxis?
- How to make visible atleast one line inside line chart even though the custom legend clicked to make invisible it
- Spark - Highcharts // Add points dynamically
- highchart axis label can't set at beginning of the label?
- Highmap R (or) javascript - adding custom legend
- Highchart Export chart not returning image in IE8 or IE9
- Highcharts renderer: fill colour of embedded SVG image