score:2
You can add two buttons and use css styles for positions them. You need to catch click event and use setExtremes which allows to define range in xAxis.
http://api.highcharts.com/highcharts#Axis.setExtremes()
EDIT:
$('#button').click(function() {
var chart = $('#container').highcharts();
chart.xAxis[0].setExtremes(0, 5);
});
Source: stackoverflow.com
Related Query
- Position next and previous buttons on far right and left side of the Highchart
- How can i align the highchart legend pagination to right or left side of the legends?
- Highcharts.js question: is it possible to add blank space from the left and right side of chart that will be visible only during panning?
- Position highcharts datalabels to the left of positive bars and to the right of negative bars
- highchart legend multiple position ? first legend left and 2nd legend right show in a chart
- Highcharts graph should start entirely to the left and end entirely to the right
- Set left and right border-like on highchart
- Highcharts - three series using left Y axis and the fourth using the right Y axis
- Show label of stacked columns only on hover (and also the previous and next column)
- align text on the left and the right in Highcharts
- Adding a label to the left and to the right of a bar in highcharts
- move x and y axis from left to right in highchart
- set left and right margin in highchart
- How can you align the left and right Y-axes of vertically stacked HighCharts charts?
- How to position rangeSelector buttons to the right Highstock/Highcharts
- HighChart - Stacked Bar chart - To show dash line over the bar chart but it is not visible on Left side of the bar
- use highchart and highstock on the same page
- Can color of data label be different inside and outside of the bar in Highchart
- How can I do in Highchart to have 1px space between the columns and the y Axis?
- Is it possible to position the zoom buttons in highcharts/highstock?
- Stock chart timeline buttons and date field left align with chart
- Highchart - line or area not starting at the left point
- put the highchart legend to the bottom of the chart and horizontally centered
- Is there a way how to dynamically create a plotline in highchart when the value is lower than previous one?
- Highcharts. Add text at right side and export all into PDF
- How to set series-label to false by default and change the color of series label text in highchart
- remove previous markers and retain only single marker highchart
- change the Top and Left in highcharts
- Keep Scroll on the Right Highchart
- How can I do a padding between my highest x-value and the plot's right gap in Highcharts?
More Query from same tag
- Highcharts custom buttons with tooltips
- Highstock charts - change position of rangeselector From and To inputs
- stacked waterfall charts in highcharts
- highcharts- I would like to change the axis value while leaving the graph intact
- blank page in Highcharts
- How to increase and decrease the height of the gridlines in advanced accessible highcharts
- Chart area exceeding series length
- Extending typescript interface from another module
- highcharts SVG drawing mousemove
- create R highchart table with sparkline
- How to apply a gradient to a rectangle in Highcharts
- Padding between categories in bar chart
- Space at the bottom of highcharts
- Highcharts text in the exported image only
- HighCharts Dynamically Change Chart Type
- lazy high charts rails, what is "my_id" ? in <%= high_chart("my_id4", @chart) %>
- Show time in HH:MM on Xaxis Highcharts
- How to set Highcharts labels width to 50%
- How do I unbold title of Highcharts' legend?
- Highstock Navigator always starts from 1970-1-1
- Error with PhantomJS when installing Highcharts export server on Azure VM (Ubuntu 20.04)
- Highcharts date in form of Day(Integer) - Month(the name of the month), like 17 - July
- Highcharts - Guage - Changing the color and radius of the center black dot(circle)
- PIE Chart is not working in IE 8 with HighCharts
- Gauge chart in ng2-highcharts
- selected Pie to be shown as popped out in highcharts
- How to spread Y Axis values in "area" chart using HighCharts
- Highchart data series filled with different colors
- Highcharts JS 'columnrange' chart value formatting
- JavaScript method begins w/ variables assigned?? very confused