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 Query
- 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
More Query from same tag
- Highcharts fill area point interval issue
- Highcharts range selector doesn'n work
- Columns of markers
- How to customize highcharts for this graph
- How to change the axis of Dual axes Graph
- HighCharts Orgcharts make scroll able container
- How to feed two values to y axis at a time corresponds to single x axis value in Highchart
- "Nested labels" in Highcharts
- Highstock: How can I format the xAxis crosshair label?
- In area chart how to use gradient colour
- Highcharts more than 2 x axies
- Highcharts tooltip format different with series
- Highstock and Highmaps together causing issue
- Highcharts column drilldown, assign two different colours to the two different drilldown columns?
- Highcharts how to save a selected legend
- How to access angular scope variable in JavaScript file
- highcharts : issue in plotting 2 graphs in 1 chart
- Angular High Chart - Loading data from Observable
- While loop not working in the series data highcharts - php
- Highchart - yAxis - 1,000 should be displayed like 1000
- Highcharts multiple series with missing Data Points
- Clear chart by click in highcharts
- Navigator line is different than series line
- Issue with click function highcharts-ng and Angularjs
- How to change the bar color in Highcharts
- Creating a Simple Line Chart with Highcharts
- How to return Highcharts ID, once it has been render?
- Series and categories data not changing dynamically
- no idea which line of code is using getPreventDefault()
- Is it possible to show the chart if the value of array bracket is null or empty in the HighChart