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
- Unable to trigger a click event on series data | Highchart
- How to show multiple HighCharts charts in the same page?
- How to add php data into highchart js file in php
- Change color of marker on hover points - Highcharts
- Highcharts.js: scrollable innterText?
- How to export gauge chart with custom marker using highchart?
- How to add dotted lines between two interval of x-axis in hightcharts
- Highcharts - Bar - Setting the X axis width and the chart area width to be constant
- Django timeseries format and highcharts
- Highchart - xAxis weekly date can start given day?
- AngularJS : link between directive and controller
- Highchart tooltip value should be format based on locale
- Dynamic colors and y-Axis descriptions in Highcharts
- MySql TimeStamp and JavaScript Time
- HighChart HighStock Error: Invalid negative value for <rect>
- I was working on highcharts and react and want to built something like this with highcharts. Is it possible?
- How do you set up an array to hold '0's for empty locations so graphs(Highcharts) can format them correctly?
- Highcharts: Overlapping colors in bar type
- Load highcharts dynamically with dynamic config option
- HighCharts - how to set labels font color for printing?
- Highcharts column chart grouping
- How to set custom color on stacked bar chart
- update the yAxis min value and tooltip dynamically in highcharts
- Highcharts :Column chart with percentage grouping on X-Axis
- Highcharts: Legend not show
- Set (Sigma) Symbol as custom button text in Highcharts
- Highcharts height issue - remove white space at the top. See JSFiddle :)
- How to move line series in Highchart?
- How do I fix highchart to display series correctly with a special marker
- HighCharts using Text in yAxis instead of numbers