2.120 ChartAxis

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

The ChartAxis element specifies properties for labels, titles, and gridlines along an axis of a Chart.

Following are the parent elements, attributes, and child elements of the ChartAxis element.

Parent elements

ChartCategoryAxes

ChartValueAxes

Attributes

ChartAxis.Name

Child elements

ChartAxis.AllowLabelRotation

ChartAxis.Angle

ChartAxis.Arrows

ChartAxis.ChartAxisScaleBreak

ChartAxis.ChartAxisTitle

ChartAxis.ChartMajorGridLines

ChartAxis.ChartMajorTickMarks

ChartAxis.ChartMinorGridLines

ChartAxis.ChartMinorTickMarks

ChartAxis.ChartStripLines

ChartAxis.CrossAt

ChartAxis.CustomProperties

ChartAxis.HideEndLabels

ChartAxis.HideLabels

ChartAxis.IncludeZero

ChartAxis.Interlaced

ChartAxis.InterlacedColor

ChartAxis.Interval

ChartAxis.IntervalOffset

ChartAxis.IntervalOffsetType

ChartAxis.IntervalType

ChartAxis.LabelInterval

ChartAxis.LabelIntervalOffset

ChartAxis.LabelIntervalOffsetType

ChartAxis.LabelIntervalType

ChartAxis.LabelsAutoFitDisabled

ChartAxis.Location

ChartAxis.LogBase

ChartAxis.LogScale

ChartAxis.Margin

ChartAxis.MarksAlwaysAtPlotEdge

ChartAxis.MaxFontSize

ChartAxis.Maximum

ChartAxis.MinFontSize

ChartAxis.Minimum

ChartAxis.OffsetLabels

ChartAxis.PreventFontGrow

ChartAxis.PreventFontShrink

ChartAxis.PreventLabelOffset

ChartAxis.PreventWordWrap

ChartAxis.Reverse

ChartAxis.Scalar

ChartAxis.Style

ChartAxis.VariableAutoInterval

ChartAxis.Visible

The following is the XML Schema definition of the ChartAxis element in RDL 2008/01.

 <xsd:complexType name="ChartAxisType">
   <xsd:choice minOccurs="0" maxOccurs="unbounded">
     <xsd:element name="Visible" type="xsd:string" minOccurs="0" />
     <xsd:element name="Style" type="StyleType" minOccurs="0" />
     <xsd:element name="ChartAxisTitle" type="ChartAxisTitleType" minOccurs="0" />
     <xsd:element name="Margin" type="xsd:string" minOccurs="0" />
     <xsd:element name="Interval" type="xsd:string" minOccurs="0" />
     <xsd:element name="IntervalType" type="xsd:string" minOccurs="0" />
     <xsd:element name="IntervalOffset" type="xsd:string" minOccurs="0" />
     <xsd:element name="IntervalOffsetType" type="xsd:string" minOccurs="0" />
     <xsd:element name="VariableAutoInterval" type="xsd:string" minOccurs="0" />
     <xsd:element name="LabelInterval" type="xsd:string" minOccurs="0" />
     <xsd:element name="LabelIntervalType" type="xsd:string" minOccurs="0" />
     <xsd:element name="LabelIntervalOffset" type="xsd:string" minOccurs="0" />
     <xsd:element name="LabelIntervalOffsetType" type="xsd:string" minOccurs="0" />
     <xsd:element name="ChartMajorGridLines" type="ChartGridLinesType" minOccurs="0" />
     <xsd:element name="ChartMinorGridLines" type="ChartGridLinesType" minOccurs="0" />
     <xsd:element name="ChartMajorTickMarks" type="ChartTickMarksType" minOccurs="0" />
     <xsd:element name="ChartMinorTickMarks" type="ChartTickMarksType" minOccurs="0" />
     <xsd:element name="MarksAlwaysAtPlotEdge" type="xsd:string" minOccurs="0" />
     <xsd:element name="Reverse" type="xsd:string" minOccurs="0" />
     <xsd:element name="CrossAt" type="xsd:string" minOccurs="0" />
     <xsd:element name="Location" type="xsd:string" minOccurs="0" />
     <xsd:element name="Interlaced" type="xsd:string" minOccurs="0" />
     <xsd:element name="InterlacedColor" type="xsd:string" minOccurs="0" />
     <xsd:element name="ChartStripLines" type="ChartStripLinesType" minOccurs="0" />
     <xsd:element name="Arrows" type="xsd:string" minOccurs="0" />
     <xsd:element name="Scalar" type="xsd:boolean" minOccurs="0" />
     <xsd:element name="Minimum" type="xsd:string" minOccurs="0" />
     <xsd:element name="Maximum" type="xsd:string" minOccurs="0" />
     <xsd:element name="LogScale" type="xsd:string" minOccurs="0" />
     <xsd:element name="LogBase" type="xsd:string" minOccurs="0" />
     <xsd:element name="HideLabels" type="xsd:string" minOccurs="0" />
     <xsd:element name="Angle" type="xsd:string" minOccurs="0" />
     <xsd:element name="PreventFontShrink" type="xsd:string" minOccurs="0" />
     <xsd:element name="PreventFontGrow" type="xsd:string" minOccurs="0" />
     <xsd:element name="PreventLabelOffset" type="xsd:string" minOccurs="0" />
     <xsd:element name="PreventWordWrap" type="xsd:string" minOccurs="0" />
     <xsd:element name="AllowLabelRotation" type="xsd:string" minOccurs="0" />
     <xsd:element name="IncludeZero" type="xsd:string" minOccurs="0" />
     <xsd:element name="LabelsAutoFitDisabled" type="xsd:string" minOccurs="0" />
     <xsd:element name="MinFontSize" type="xsd:string" minOccurs="0" />
     <xsd:element name="MaxFontSize" type="xsd:string" minOccurs="0" />
     <xsd:element name="OffsetLabels" type="xsd:string" minOccurs="0" />
     <xsd:element name="HideEndLabels" type="xsd:string" minOccurs="0" />
     <xsd:element name="ChartAxisScaleBreak" type="ChartAxisScaleBreakType" minOccurs="0" />
     <xsd:element name="CustomProperties" type="CustomPropertiesType" minOccurs="0" />
     <xsd:any namespace="##other" processContents="skip" />
   </xsd:choice>
   <xsd:attribute name="Name" type="xsd:normalizedString" use="required" />
   <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>

The following is the XML Schema definition of the ChartAxis element in RDL 2010/01 and RDL 2016/01.

 <xsd:complexType name="ChartAxisType">
   <xsd:choice minOccurs="0" maxOccurs="unbounded">
     <xsd:element name="Visible" type="xsd:string" minOccurs="0" />
     <xsd:element name="Style" type="StyleType" minOccurs="0" />
     <xsd:element name="ChartAxisTitle" type="ChartAxisTitleType" minOccurs="0" />
     <xsd:element name="Margin" type="xsd:string" minOccurs="0" />
     <xsd:element name="Interval" type="xsd:string" minOccurs="0" />
     <xsd:element name="IntervalType" type="xsd:string" minOccurs="0" />
     <xsd:element name="IntervalOffset" type="xsd:string" minOccurs="0" />
     <xsd:element name="IntervalOffsetType" type="xsd:string" minOccurs="0" />
     <xsd:element name="VariableAutoInterval" type="xsd:string" minOccurs="0" />
     <xsd:element name="LabelInterval" type="xsd:string" minOccurs="0" />
     <xsd:element name="LabelIntervalType" type="xsd:string" minOccurs="0" />
     <xsd:element name="LabelIntervalOffset" type="xsd:string" minOccurs="0" />
     <xsd:element name="LabelIntervalOffsetType" type="xsd:string" minOccurs="0" />
     <xsd:element name="ChartMajorGridLines" type="ChartGridLinesType" minOccurs="0" />
     <xsd:element name="ChartMinorGridLines" type="ChartGridLinesType" minOccurs="0" />
     <xsd:element name="ChartMajorTickMarks" type="ChartTickMarksType" minOccurs="0" />
     <xsd:element name="ChartMinorTickMarks" type="ChartTickMarksType" minOccurs="0" />
     <xsd:element name="MarksAlwaysAtPlotEdge" type="xsd:string" minOccurs="0" />
     <xsd:element name="Reverse" type="xsd:string" minOccurs="0" />
     <xsd:element name="CrossAt" type="xsd:string" minOccurs="0" />
     <xsd:element name="Location" type="xsd:string" minOccurs="0" />
     <xsd:element name="Interlaced" type="xsd:string" minOccurs="0" />
     <xsd:element name="InterlacedColor" type="xsd:string" minOccurs="0" />
     <xsd:element name="ChartStripLines" type="ChartStripLinesType" minOccurs="0" />
     <xsd:element name="Arrows" type="xsd:string" minOccurs="0" />
     <xsd:element name="Scalar" type="xsd:boolean" minOccurs="0" />
     <xsd:element name="Minimum" type="xsd:string" minOccurs="0" />
     <xsd:element name="Maximum" type="xsd:string" minOccurs="0" />
     <xsd:element name="LogScale" type="xsd:string" minOccurs="0" />
     <xsd:element name="LogBase" type="xsd:string" minOccurs="0" />
     <xsd:element name="HideLabels" type="xsd:string" minOccurs="0" />
     <xsd:element name="Angle" type="xsd:string" minOccurs="0" />
     <xsd:element name="PreventFontShrink" type="xsd:string" minOccurs="0" />
     <xsd:element name="PreventFontGrow" type="xsd:string" minOccurs="0" />
     <xsd:element name="PreventLabelOffset" type="xsd:string" minOccurs="0" />
     <xsd:element name="PreventWordWrap" type="xsd:string" minOccurs="0" />
     <xsd:element name="AllowLabelRotation" type="xsd:string" minOccurs="0" />
     <xsd:element name="IncludeZero" type="xsd:string" minOccurs="0" />
     <xsd:element name="LabelsAutoFitDisabled" type="xsd:string" minOccurs="0" />
     <xsd:element name="MinFontSize" type="xsd:string" minOccurs="0" />
     <xsd:element name="MaxFontSize" type="xsd:string" minOccurs="0" />
     <xsd:element name="OffsetLabels" type="xsd:string" minOccurs="0" />
     <xsd:element name="HideEndLabels" type="xsd:string" minOccurs="0" />
     <xsd:element name="ChartAxisScaleBreak" type="ChartAxisScaleBreakType" minOccurs="0" />
     <xsd:element name="CustomProperties" type="CustomPropertiesType" minOccurs="0" />
     <xsd:any namespace="##other" processContents="lax" />
   </xsd:choice>
   <xsd:attribute name="Name" type="xsd:normalizedString" use="required" />
   <xsd:anyAttribute namespace="##other" processContents="lax" />
 </xsd:complexType>