0
votes

How can we increase the spacing between the x-axis and the chart in chartjs

so far

 options: {
                responsive: true,
                maintainAspectRatio: false,
                scales: {
                    xAxes: [
                        {
                        ticks: { display: true },
                        gridLines: {
                            display: true,
                            drawBorder: false,
                            drawTicks: false,
                            // color: "#fff",   
                        },
                        
                    }],
}

enter image description here

1
That actually works, thanks fam @BrunoMonteiro - bihire boris
Added as a proper answer to follow the correct SO process :) - Bruno Monteiro

1 Answers

1
votes