2.120.31 ChartAxis.Margin

Applies to RDL 2008/01, RDL 2010/01, and RDL 2016/01

The ChartAxis.Margin element specifies whether an axis margin will be created. The size of the margin MUST be automatically generated based on the axis scale and the number of data points. This element is optional.

If the ChartAxis.Margin element is present, its value MUST be a String ([XMLSCHEMA2/2] section 3.2.1) or an expression that evaluates to a String. The value of this element MUST be one of the following or an expression that evaluates to one of the following:

Auto: Specifies that the margins are included based on the ChartSeries.Type or ChartSeries.Subtype.

True: Specifies that the axis has a margin.

False: Specifies that the axis has no margin.

If the ChartAxis.Margin element is not present, its value is interpreted as "Auto".

Following is the parent element of the ChartAxis.Margin element.

Parent elements

ChartAxis

The following is the XML Schema definition of the ChartAxis.Margin element.

 <xsd:element name="Margin" type="xsd:string" minOccurs="0" />