2.177 CustomLabel

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

The CustomLabel element specifies a custom label for a RadialScale or a LinearScale element. The CustomLabel element MUST be specified at least once within a CustomLabels collection.

The following are the parent elements, attributes, and child elements of the CustomLabel element.

Parent elements

CustomLabels

Attributes

CustomLabel.Name

Child elements

CustomLabel.AllowUpsideDown

CustomLabel.DistanceFromScale

CustomLabel.FontAngle

CustomLabel.Hidden

CustomLabel.Placement

CustomLabel.RotateLabel

CustomLabel.Style

CustomLabel.Text

CustomLabel.TickMarkStyle

CustomLabel.UseFontPercent

CustomLabel.Value

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

 <xsd:complexType name="CustomLabelType">
   <xsd:choice minOccurs="0" maxOccurs="unbounded">
     <xsd:element name="Style" type="StyleType" minOccurs="0" />
     <xsd:element name="TickMarkStyle" type="TickMarkStyleType" minOccurs="0" />
     <xsd:element name="Text" type="xsd:string" minOccurs="0" />
     <xsd:element name="AllowUpsideDown" type="xsd:string" minOccurs="0" />
     <xsd:element name="DistanceFromScale" type="xsd:string" minOccurs="0" />
     <xsd:element name="FontAngle" type="xsd:string" minOccurs="0" />
     <xsd:element name="Placement" type="xsd:string" minOccurs="0" />
     <xsd:element name="RotateLabel" type="xsd:string" minOccurs="0" />
     <xsd:element name="Value" type="xsd:string" minOccurs="0" />
     <xsd:element name="Hidden" type="xsd:string" minOccurs="0" />
     <xsd:element name="UseFontPercent" type="xsd:string" 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 CustomLabel element in RDL 2010/01 and RDL 2016/01.

 <xsd:complexType name="CustomLabelType">
   <xsd:choice minOccurs="0" maxOccurs="unbounded">
     <xsd:element name="Style" type="StyleType" minOccurs="0" />
     <xsd:element name="TickMarkStyle" type="TickMarkStyleType" minOccurs="0" />
     <xsd:element name="Text" type="xsd:string" minOccurs="0" />
     <xsd:element name="AllowUpsideDown" type="xsd:string" minOccurs="0" />
     <xsd:element name="DistanceFromScale" type="xsd:string" minOccurs="0" />
     <xsd:element name="FontAngle" type="xsd:string" minOccurs="0" />
     <xsd:element name="Placement" type="xsd:string" minOccurs="0" />
     <xsd:element name="RotateLabel" type="xsd:string" minOccurs="0" />
     <xsd:element name="Value" type="xsd:string" minOccurs="0" />
     <xsd:element name="Hidden" type="xsd:string" minOccurs="0" />
     <xsd:element name="UseFontPercent" type="xsd:string" 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>