Reputation: 832
I am redering a highchart in a container. I want this chart to fit in container and to not to show any scroll. But it gives me a horizontal scroll with no/ or very little space to scroll.
<div id="container" style="min-width: 600px; height: 400px; margin: 0 auto" align="right"></div>
Somthing similar to - fiddle And also when I try to debug using f12 , scroll disappears.
How can I avoid this?
Upvotes: 2
Views: 1557
Reputation: 1594
add
scrollbar: {
enabled: false
},
to your xAxis
attribute of chart when initializing in javascript.
Upvotes: 5