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


Related Query

More Query from same tag