문제

I have this Highcharts chart but depending on the Height the bars are spilling over into the Axes. I set the height of the chart to 150, but this includes a number of other things other than just the chart's columns, like the axes and whatnot. Is there any way to say, "Set the column with the maximum value to 'x' pixels, no matter what the maximum value is". Much appreciated.

enter image description here

도움이 되었습니까?

해결책

Not directly, but you can play around with minPadding and maxPadding. If you have fixed height of the chart (always the same) then you can set that values.

See references:

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top