score:1
Accepted answer
You can loop through your data and round timestamps to the nearest date:
function roundDate(timeStamp) {
timeStamp -= timeStamp % (24 * 60 * 60 * 1000); //subtract amount of time since midnight
return new Date(timeStamp).getTime();
}
function loopThroughData(data) {
data.forEach(function(el) {
el[0] = roundDate(el[0])
});
}
loopThroughData(series1);
loopThroughData(series2);
Live demo: https://jsfiddle.net/BlackLabel/zhbt4gmw/
Useful thread: Round a timestamp to the nearest date
Source: stackoverflow.com
Related Query
- Highchart group chart points with same date
- Highcharts line chart all points disappear when have more than one points with same X Axis
- Highchart area chart with date time
- How to show difference in scatter chart with plots at same position in highchart
- create a chart with date values in highchart
- How to create a new Highstock chart with new Highchart and not jquery?
- Highchart Area Range chart with gradient that follows the line
- Stock chart timeline buttons and date field left align with chart
- how to assign date time to highchart with intervals and date start
- Showing multiple data with same x and y in highchart
- Several Series with the same xAxis data in HighChart
- Create six chart with the same rendering,different data (highchart )
- Adding data to a highchart chart using an array with IDs
- HighChart Sparkline Chart with dynamic data for the table
- Highchart not displaying the pie chart with Ajax data
- Highcharts - Column chart with empty columns for date in x-axis
- Display multiple points with exact same value in scatter HighCharts
- How to use Highcharts React to create chart with multiple lines for same XAxis?
- Highchart Polar chart - 4 nested circle with different series
- Pie Chart for Data on Different Things with HighChart
- Stacked column chart with irregular date time interval
- Highcharts - creating chart with same scale axis
- Multiple pie-charts in the same chart with HighCharts
- Group values with the same key in an array of objects
- how to create simple schedule chart with highchart
- Highchart Pie chart with partially colored slices
- How to create chart with highchart in which bar doesn't start from 0 in y axis?
- Remove elements in a chart generated with highchart
- highchart Sankey chart nodes flow with image for insights
- Highchart Drill Down do not work for different chart types on same page
More Query from same tag
- Initialize Highcharts treemap at specific drilldown level
- Highcharts pie chart loses color on refresh
- How to use a custom JSON map in Highmaps
- Displaying datatable in highcharter tooltip
- Highcharts bar chart force bar to use space
- Highcharts Export server - Can't generate image using --options
- Highcharts angular gauge: multiple dials with different colors
- Dynamically changing Highcharts Theme through Jquery code not working
- Find and fill intersection of line chart with plot line in highcharts
- Highcharts displaying blank space
- Highcharts - sync crosshair of charts with different width
- Chart area exceeding series length
- Add text inside a circular progress pie chart bar using HIGHCHARTS
- How to enable dates that match with the data in rangeselector?
- How to draw arrows on a pie-chart with Highcharts?
- How we design 3d column chart in highcharts like in pic?
- using flask render_template to make a highchart on the front end
- Highcharts multiple data series
- high charts - lost animation when pie chart sliced is programmatically set
- Get max value and label in series after zoom in JS HighCharts
- How to change Highchart tooltip font family
- highcharts are not rendering in grails views
- Hide Highcharts error's in console
- Inserting series data in highcharts dynamically
- highcharts: fire animation when visible instead of on page load
- Waterfall Highchart to start some of the columns in between the series with 0 y-axis
- Highchart display single entry against each category in bar chart
- highchart xaxis and random y value
- [Highcharts][jQuery] How to get DateTime from XML to jQuery
- stacked column highchart custom modifications