marginmixin provides margin utility functions for both the row chart and coordinate grid charts. the hierarchy of the marginmixin is defined in the diagram below.

marginmixin provides a single method to set the margin for coordinated axis based charts.
margins( [margins])
gets or sets the left, right, top and bottom margin of the chart. the default margin of the chart is as follows −
a. right - 50 a. left - 30 a. top - 10 a. bottom - 30
var rightmargin = chart.margins().right; // 50 by default chart.margins().bottom = 60;