Highcharts padding between plot and graph, how to

2019-05-12 00:53发布

问题:

How can i remove padding between my chart and plot. I want my chart to start from the edge of plot and end the same way, but no matter what I try, i cannot remove padding :(

Thanks!

回答1:

You can do that with:

    plotOptions: {
    series: {
        pointPadding: 0,
        groupPadding: 0,      
        }
    },

See working example at jsfiddle: http://jsfiddle.net/diosney/GBp9V/1/.

Hope that is what you want.



标签: highcharts