Reputation: 311
I'm trying to disable the from - to range selector that comes by default in highstocks. Looked up the api documentation but didn't find a solution. Thanks for the support!
Upvotes: 12
Views: 17302
Reputation: 531
The accepted answer will only disable the Range Selector;
If you want to remove it completely, you need:
rangeSelector: {
enabled: false
},
Upvotes: 17
Reputation: 614
You can use for StockChart just like below:
this.chartData = new StockChart({
title: {
text: 'Data Chart'
},
rangeSelector: {
selected: 0,
inputEnabled: false
},
series: [{
tooltip: {
valueDecimals: 2
},
name: 'Chart',
data: [],
type: undefined
}]
});
Upvotes: 2
Reputation: 369
you can use add inputEnabled:false
rangeSelector : {
inputEnabled:false
},
Upvotes: 9