score:57
Accepted answer
You can change it by the following code:
new Highcharts.StockChart({
.
.
.
rangeSelector: {
selected: 0
}
});
You can take a look the following example: http://jsfiddle.net/QnvrR/.
The default buttons are:
buttons: [{
type: 'month',
count: 1,
text: '1m'
}, {
type: 'month',
count: 3,
text: '3m'
}, {
type: 'month',
count: 6,
text: '6m'
}, {
type: 'ytd',
text: 'YTD'
}, {
type: 'year',
count: 1,
text: '1y'
}, {
type: 'all',
text: 'All'
}]
So, you have to change the number of the selected according to what you want.
Reference
score:0
The zoom Links are index of an array, so if you want select the default render, set this params: rangeSelector: { selected: index_of_array }, in my case for select "all" have setted selected: 5
Source: stackoverflow.com
Related Query
- Highstocks - How to change the default Zoom
- How to change the font family of Highchart to Bootstrap css default font family
- How to set series-label to false by default and change the color of series label text in highchart
- Highstocks How to change the font of the buttons of the range selecotor
- In Highstocks, how do I change the default time/day labels when hovering over graph?
- How do you change the colour of each category within a highcharts column chart?
- How can I change the colors of my highcharts piechart?
- How to change the text color in Highcharts
- How can I change the unit at y axis dynamically at Highcharts?
- How to change the font properties in a pie highchart?
- How can I change the width of the bars in a highchart?
- How to disable the on-hover color change in Highcharts?
- Change the zoom Type dynamically?
- *Highcharts* How to get the min and max value of the zoom box
- Highcharts, How can I change the datalable distance in a pie chart based on the value
- How can I change the scale of the legend in highcharter in R?
- How to position the Highcharts.StockChart's rangeSelector zoom on the right?
- Highcharts: how to get the default export options on a chart?
- How to change the palette colors of a highcharter column plot which depends on a variable?
- In highcharts how do I change the color of the line above the categories?
- Change the zoom level for highmaps
- highcharts pie monochrome: how to set the default color?
- how to disable or override the fonts inherited from svg in the web pages by default
- how to change the point format for drill down in pie charts?
- how to display 2 same highcharts without duplicate the code
- How do I change the style of the inner part enclosed by the lines(polar) chart created with highcharts?
- How to change the background color of measure tool in stock chart in highstock?
- How to disable or remove the default HighChart loading message?
- How can I disable the Highstocks range selector buttons when loading data asynchronously?
- How to change the color of highcharts series graph to black & white during downloading it as an image?
More Query from same tag
- How to hide series via the legend in highstock ?
- Highcharts dual yaxis scaling issue
- How to load data from JSON to Highchart?
- Specify X-Axis Category in Series Data in Highcharts
- How to get xAxis and yAxis information on a Highcharts heatmap click event?
- Highcharts: Column chart has banding as a result of inconsistent spacing
- Accessing a Highmaps node from outside the map
- Highcharts dates in xaxis customisation
- How to dynamiccally add and remove highchart in angular 10?
- Highcharts chart with risk color background
- how can i scroll my gnatt highcharts using mouse wheel
- Rendering json results to a pie chart in a div - highmaps
- Highcharts Donut chart is rendered as a Pie chart in IE 8
- Highcharts Drilldown fail
- In Vue JS, assign data from mounted()
- Highcharts mobile (and window) resizing. Axis overlapping
- jQuery - HighCharts Labels outside Series (Bar Chart)
- Space at the bottom of highcharts
- Highcharts - Update a series point [x,y] values?
- Highcharts : Show ticker on the start of plot
- Highcharts: bar/column chart label position with values of 0
- highchart- how do I hide y-axis, when y-axis is set with max and min limits
- How to change time in hours on HighChart xAxis from Military to Standard time?
- Highcharts / Highstock Invalid Date Issue
- Hiding items in highchart legend
- Highchart - Datalabel overlaps across slices
- Reactive Function is not working
- Highcharts border around plot
- highcharts render black on ajax refresh
- Error: Data source must be a URL for refresh | console error | javascript | Highcharts