score:1
Accepted answer
Create an interval after a chart is generated and call setExtremes
method. Example:
setInterval(() => {
const xAxis = chart.xAxis[0];
xAxis.setExtremes(xAxis.min + 1, xAxis.max + 1);
}, 5000);
Live demo: http://jsfiddle.net/BlackLabel/5yha7xwv/
API Reference: https://api.highcharts.com/class-reference/Highcharts.Axis#setExtremes
Source: stackoverflow.com
Related Articles
- highcharts - need to auto scroll on x-axis on every 5 seconds with hide scroll bar
- highcharts spline with multiple series update every few seconds
- Hide axis and gridlines Highcharts
- Javascript Highcharts v3.0.5 - How to hide Y Axis Title when using multiple Y Axis
- Highcharts - best way to handle and display zero (or negative) values in a line chart series with logarithmic Y axis
- Highcharts - with datetime axis labels overlap
- highcharts - removing decimal places on Y axis with only one point
- Highcharts blank chart with x and y axis
- Highcharts - Display only year in x axis and stop auto formatting
- Highcharts label format with tickPositioner in a datetime x Axis
- Highcharts - Global configuration with common code and unique data & Headings
- How to hide color axis in heatmaps using highcharts
- How to populate a Highcharts axis with string formatted data from a PHP array
- 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?
- Replace axis labels with custom in highcharts r
- Highcharts stacked columns with Y Axis grouping
- Highcharts - creating chart with same scale axis
- Highcharts datetime axis overlap with a long time series
- passing formatting JavaScript code to HighCharts with JSON
- Highcharts area chart hide graphs with one data point
- HighCharts Draggable Plotline with Logarithmic axis scale
- Auto Update Highcharts with Ajax
- Highcharts gantt chart : Task progress indicator need to show a single task for various status like completed,inprogress etc with different colors
- Highcharts line chart all points disappear when have more than one points with same X Axis
- Limit ticks on X axis in highcharts with R
- Highcharts GANTT chart - need to allow category with no data
- how to show column and area charts with different y axis with same category and same x axis in highcharts
- Need to precisely set Highcharts axis min/max after chart creation
- Highcharts multiple x axis and yaxis. The width of the 1st x-axis is not in sync with browser resize
- Highcharts - Specific color zones for HighCharts navigator
- Highcharts multiple charts drilldown
- Setting dates in the xAxis properly HighCharts
- HighChart.js : How to group nodes in organization chart
- Highcharts styledMode with highcharts.css import causes pie legend hover to apply to all legend items
- Only first N datapoints should be used
- Highchart - Use a formatter on PlotLine labels
- Passivate Highcharts Export Phantom JS Web Server?
- Getting error while using highcharts in Angular 7
- HighStock CandleStick type does not printed in Chrome
- HighCharts box-plot: how to make it horizontal
- Highcharts: rapid, real-time data updates in high volume line charts using boost
- Highcharts make pie chart goal value only 50%
- How dynamically set the zoom level on highcharts?
- How to disable HighCharts re-rendering while exporting charting into file?
- Align Legend with x-Axis Title in HighCharts
- How to remove button from Highcharts
- Highchart changing crosshair color depending on value of y-axis
- Highcharts - Change column color If data.point equal to string
- In Highcharts Make tooltip of a specific point always visible and dynamically i will change its point