By default, FusionCharts provides some padding between the chart border and the canvas. This is called the chart margin and each of the margins - left, right, top, bottom chart can be set individually.
Amount of empty space that you want to put on the left side of your chart is called chart left margin.
<chart chartLeftMargin="15">
Amount of empty space that you want to put on the right side of your chart.
<chart chartRightMargin="15">
Amount of empty space that you want to put on the top of your chart.
<chart chartTopMargin="10">
Amount of empty space that you want to put on the bottom of your chart.
<chart chartBottomMargin="10">
You can define the space between the caption of the chart and the top of the chart canvas using captionPadding
attribute in the <chart>
element. But when you have a sub-caption defined in the chart, it controls the space between the sub-caption and the top of the chart canvas.
<chart captionPadding="15">
You can define the space between the X-axis title and the data labels in FusionCharts using thexAisNamePadding
attribute in the <chart>
element.
<chart xAxisNamePadding="10">
The padding that you want to set between the y-axis name and Y-axis data values, can be done with the help of yAxisNamePadding
attribute.
<chart yAxisNamePadding="10">
You can define the space between the left end of the chart canvas and the y-axis values in FusionCharts using the yAxisValuesPadding
attribute in the <chart>
element.
<chart yAxisValuesPadding="5">
You can set the vertical space between the canvas bottom edge and the data labels with the help oflabelPadding
attribute in your <chart>
element.
<chart labelPadding="3" >
To control the space between your columns/anchors and the value text boxes you can use the valuePadding
attribute.
<chart valuePadding="3" >
For a line/area chart, the padding between the canvas border and the position where the line/area chart begins to draw is called canvas padding.
<chart canvasPadding="30" >