Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Highcharts padding between plot and graph, how to remove?

Tags:

highcharts

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!

like image 940
fallenboy Avatar asked Feb 23 '23 12:02

fallenboy


1 Answers

You can do that with:

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

See working example at jsfiddle: https://jsfiddle.net/d9854qLm/.

Hope that is what you want.

like image 184
Diosney Avatar answered Mar 03 '23 07:03

Diosney