如何将HighCharts中图表底部的边距设置为零?

时间:2015-12-17 06:27:20

标签: highcharts

演示:

http://fiddle.jshell.net/wmgbbp9k/show/

enter image description here

是否可以将此边距设置为零?

谢谢!

1 个答案:

答案 0 :(得分:1)

你可以通过在图表配置

中设置margin和spacingBottom来做到这一点
 chart: {

        marginLeft: 0,
        marginBottom: 0,
        marginTop: 0,
        marginRight: 0,
       spacingBottom:
    }

Please refer documentation here