score:1
Accepted answer
To achieve it you can add points with null
values to the second series. Check the code and demo posted below.
Code:
chart: {
events: {
load: function() {
var chart = this,
series1 = chart.series[0],
series2 = chart.series[1],
x, y;
setInterval(function() {
x = (new Date()).getTime();
y = Math.round(Math.random() * 100);
series1.addPoint([x, y], false, true);
series2.addPoint([x, null], false, true);
chart.redraw();
}, 2000);
}
}
}
Demo:
Source: stackoverflow.com
Related Query
- In highcharts,series without dynamic data does not shift
- Highchart does not load data from hidden input when using .val
- In highcharts,tool-tip does not move when chart has high data unlike when it has low data
- High chart data downloads but does not display in browser using node
- Generating Highcharts from MySQL data with PHP does not work
- Hight Chart Dynamic Json Value is not loading in Series Data Section but Static Value is Loading Finely
- Does not return data as intended when creating the chart
- Highstock Not showing max data value without Zoom
- Highcharts heat map does not work with a wide range of data values (min: 0, max: 5,000,000)
- How to have multiple highcharts with different series data in vuejs without repeating code
- Add additional data to tooltip in iOS which does not belongs to x&y-axis of graph
- Highchart data does not start with 0 gives error
- x-axis, y-axis lines does not appear, when I include 3D chart library of HighChart in my code
- How to shift data using Series.addPoint without shifting x axis values in highcharts
- ajax call does not fire jquery code
- Highcharts Highmaps the data does not match with polygons correctly
- Highcharts: Polar chart does not display series correctly in dinamically loaded data
- Drill Down (Highcharts) not working with dynamic data in Angular
- HighCharts angular not working with dynamic data from Angular service
- Highcharts addPoint does not draw line in sequence of provided data
- Highcharts does not display years on Xaxis when data with NULL values
- HighChart pie does not display any data
- what is wrong in this data series that high chart does not plot it?
- How to modify the code so that Highcharts graph does not cover fixed navigation bar at the top of the page?
- Highstock compare previous data point when date does not exist in series
- HighCharts with Dynamic Data not working
- Adding dynamic irregular data to area chart causes it to shift
- Bars does not show up when loading JSON encoded data from PHP in Highcharts
- chart does not plot line(s) from google sheet data
- Highcharts Date.UTC does not work properly for real data
More Query from same tag
- Remove spaces between columns in HighChart
- Highcharts X-Axis value not completely displayed
- Highcharts angular wrapper labels.items don't refresh
- HighCharts - Selection Event keep the selection marked in graph
- Tick and label for every xAxis Unit in Highcharts Chart
- HighCharts: Category values are repeated. Tooltip not showing the correct date
- Highcharts drilldown doesn't work for 3+ levels
- Highcharts pie slice linear gradient
- background color change in jquery highcharts
- Angular2 highchart-more
- highcharts: bubble charts: can I render the bubbles higher, not centered?
- how to update highstock indicators on dynamically updated chart
- Highcharts Double Click To Select
- how to customize xaxis of highcharts
- Unhandled promise rejection mongoose aggregate
- How to load data to highcharts from ajax?
- Highcharts Stacked Column chart change legendItemClick function
- Highcharts Date Time With Irregular Intervals Down to Minutes
- Adding thousands separator for custom formatted highcharts tooltip
- In Highcharts after zoom in and zoom out some of the x-axis values are not display
- highcharts animation multiple charts
- Highstock - Remove bottom date tooltip from line chart
- highchart legend lables does not take mouse events
- How to put multiple HighChart in a page having different series value in different chart
- Is there a way to scale the custom marker of a high charts scatter chart?
- Create HighCharts-Column type from JSON
- Pass Chart Mouse events to formatted labels
- How to customize tooltip in Highchart?
- Highcharts - date on xAxis label difference on tooltip
- Is it possible to add image behind doughnut chart with transparency color in ng2chart?