2.88.41 Chart.Palette

The Chart.Palette element specifies the color palette for the chart items in a Chart. This element is optional. If the Chart.Palette element is present in RDL 2003/10 or RDL 2005/01, its value MUST be a String ([XMLSCHEMA2/2] section 3.2.1). If the Chart.Palette element is present in RDL 2008/01, RDL 2010/01, or RDL 2016/01, its value MUST be a String or an expression that evaluates to a String.

The value of this element MUST be one of the following:

Custom: Specifies that the Custom palette is used (not available in RDL 2003/10 and RDL 2005/01).

Default: Specifies that the Default palette is used.

Berry: Specifies that the Berry palette is used (not available in RDL 2003/10 and RDL 2005/01).

BrightPastel: Specifies that the BrightPastel palette is used (not available in RDL 2003/10 and RDL 2005/01).

Chocolate: Specifies that the Chocolate palette is used (not available in RDL 2003/10 and RDL 2005/01).

EarthTones: Specifies that the EarthTones palette is used.

Excel: Specifies that the Excel palette is used.

Fire: Specifies that the Fire palette is used (not available in RDL 2003/10 and RDL 2005/01).

GrayScale: Specifies that the GrayScale palette is used.

Light: Specifies that the Light palette is used.

Pacific: Specifies that the Pacific palette is used (not available in RDL 2003/10 and RDL 2005/01).

PacificLight: Specifies that the PacificLight palette is used (not available in RDL 2003/10 and RDL 2005/01).

PacificSemiTransparent: Specifies that the PacificSemiTransparent palette is used (not available in RDL 2003/10 and RDL 2005/01).

Pastel: Specifies that the Pastel palette is used.

SeaGreen: Specifies that the SeaGreen palette is used (not available in RDL 2003/10 and RDL 2005/01).

SemiTransparent: Specifies that the SemiTransparent palette is used.

If the Chart.Palette element is not present, its value is interpreted as "Default".

In RDL 2008/01, RDL 2010/01, and RDL 2016/01, if "Custom" is specified, the chart items are painted white unless the ChartCustomPaletteColors element is also specified.

Following is the parent element of the Chart.Palette element.

Parent elements

Chart

The following is the XML Schema definition of the Chart.Palette element in RDL 2003/10 and RDL 2005/01.

 <xsd:element name="Palette" minOccurs="0" >
   <xsd:simpleType>
     <xsd:restriction base="xsd:string">
       <xsd:enumeration value="Default" />
       <xsd:enumeration value="EarthTones" />
       <xsd:enumeration value="Excel" />
       <xsd:enumeration value="GrayScale" />
       <xsd:enumeration value="Light" />
       <xsd:enumeration value="Pastel" />
       <xsd:enumeration value="SemiTransparent" />
     </xsd:restriction>
   </xsd:simpleType>
 </xsd:element>

The following is the XML Schema definition of the Chart.Palette element in RDL 2008/01, RDL 2010/01, and RDL 2016/01.

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