Home › forums › Using CanvasJS › Remove all paddings and margins
Tagged: full fit chart, remove margin, remove padding
This topic contains 3 replies, has 2 voices, and was last updated by Anjali 2 years, 8 months ago.
I would like to remove all paddings and margins in charts in order to align the chart with an adjacent grid. You can find the working fiddle below, I removed all the margins that I can find but the chart still has paddings from bottom, top and left.
As of now margins are automatically calculated and can’t be customized. As a workaround, on axisX you can set margin to -10.
I can remove the bottom and the left margins with negative values, but can’t remove the top margin. Is there any way to do that, if not do you have any plans to implement such a feature.
Sorry, we don’t have plans to implementing this in near future.
You must be logged in to reply to this topic.