Reputation: 3421
I have requirement wherein I need to hide the chart inside the HighStock Scrollbar in my angular 6 app.
I have gone through the docs here but none of the options suits me for my particular case.
Any help would be appreciated. Thanks.
Upvotes: 0
Views: 239
Reputation: 3421
I needed to hide the line chart inside the navigator, not the complete navigation functionality. Hence navigator{enabled:false}
wasn't what I was looking for.
Below work around did the job for me:
navigator: {
series:{
lineWidth:0,
fillOpacity:0
}
}
Upvotes: 0
Reputation: 2146
If you want to hide only line plot, you can just simply do it in CSS:
.highcharts-navigator-series {
display: none;
}
If you want to hide whole navigator, you can set navigator.enabled property to false:
navigator: {
enabled: false
},
Upvotes: 2