2.229 MapColorRangeRule

Applies to RDL 2010/01 and RDL 2016/01

The MapColorRangeRule element specifies a color range to be used for colorizing map items in a MapPolygonLayer, a MapPointLayer, or a MapLineLayer, based on the value of the MapColorRangeRule.DataValue element.

The following are the parent and child elements of the MapColorRangeRule element.

Parent elements

MapLineRules

MapPointRules

MapPolygonRules

Child elements

MapColorRangeRule.BucketCount

MapColorRangeRule.DataElementName

MapColorRangeRule.DataElementOutput

MapColorRangeRule.DataValue

MapColorRangeRule.DistributionType

MapColorRangeRule.EndColor

MapColorRangeRule.EndValue

MapColorRangeRule.LegendName

MapColorRangeRule.LegendText

MapColorRangeRule.MapBuckets

MapColorRangeRule.MiddleColor

MapColorRangeRule.ShowInColorScale

MapColorRangeRule.StartColor

MapColorRangeRule.StartValue

The following is the XML Schema definition of the MapColorRangeRule element.

 <xsd:complexType name="MapColorRangeRuleType">
   <xsd:choice maxOccurs="unbounded">
     <!--MapAppearanceRule Start-->
     <xsd:element name="DataValue" type="xsd:string" minOccurs="0" />
     <xsd:element name="DistributionType" type="xsd:string" minOccurs="0" />
     <xsd:element name="BucketCount" type="xsd:string" minOccurs="0" />
     <xsd:element name="StartValue" type="xsd:string" minOccurs="0" />
     <xsd:element name="EndValue" type="xsd:string" minOccurs="0" />
     <xsd:element name="MapBuckets" type="MapBucketsType" minOccurs="0" />
     <xsd:element name="LegendName" type="xsd:string" minOccurs="0" />
     <xsd:element name="LegendText" type="xsd:string" minOccurs="0" />
     <xsd:element name="DataElementName" type="xsd:string" minOccurs="0" />
     <xsd:element name="DataElementOutput" minOccurs="0">
       <xsd:simpleType>
         <xsd:restriction base="xsd:string">
           <xsd:enumeration value="Output" />
           <xsd:enumeration value="NoOutput" />
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:element>
     <!--MapAppearanceRule End-->
     <!--MapColorRule Start-->
     <xsd:element name="ShowInColorScale" type="xsd:string" minOccurs="0" />
     <!--MapColorRule End-->
     <xsd:element name="StartColor" type="xsd:string" minOccurs="0" />
     <xsd:element name="MiddleColor" type="xsd:string" minOccurs="0" />
     <xsd:element name="EndColor" type="xsd:string" minOccurs="0" />
     <xsd:any namespace="##other" processContents="lax" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="lax" />
 </xsd:complexType>