Colorings

Point Series

The following table shows the <pointSeries> children elements.

Element Description
<colorGroup> The color of a group

Attributes:

  • type (Fixed|Deepest)
  • depth, whose minimum is 1
<shapeGroup> The shape of a group

Attributes:

  • type (Fixed|Deepest)
  • depth, whose minimum is 1

Example

<coloring>
    <palettes>
        <palette alpha="0" refId="SAP Standard 2011"</>
    </palettes>
    <pointSeries>
        <colorGroup type="Fixed" depth="1"/>
        <shapeGroup type="Deepest"/>
    </pointSeries>
</coloring>
Map Series and TagCloud Series

Some specific coloring methods are provided for the Map Series and the TagCloud chart (<mapSeries> and <tagCloudSeries>).

Attribute Type or Value Description
method Palette|GradientBased|GradientBasedNeutralPolarity|CustomRange Defines the coloring method
useInternalPalette Boolean Specifies whether the built-in palette is used

The following table describes their common children elements.

Element Description
<gradientPalette> Defines the gradient color palette if method="GradientBased".

Attributes:

  • type, which defines the number of colors in gradient. Possible values are Colors2 for two colors and Colors3 for 3 colors.
  • start, which defines the first color of the gradient color palette
  • middle, which defines the middle color of the gradient color palette
  • end, which defines the last color of the gradient color palette
<outOfRange> The color of the out of ranges values
<nullOrEmpty> The color of the null or empty values
<measurePolarityGradientPalette> Defines the gradient palette if method="GradientBasedNeutralPolarity".

Attributes:

  • type
  • start
  • middle
  • end
<data> Attributes:
  • distributionMode that defines how data is distributed in the coloring zone (ByValues|ByQuantiles)
  • intervalSyntax that defines how data intervals display in the legend (Basic|US|ISO31-11)
<ranges> Defines the zones and the associated colors.

Attributes if method is not "CustomRange":

  • number ([0, 64])
  • from that defines the beginning of the interval values from which the color method is applied
  • to that defines the end of the interval values to which the color method is applied

Attributes if method="CustomRange": percentage(Boolean)

Child element if method="CustomRange": <range>.

<range> Defines the minimum and maximum values for the color of the zone defined by the interval if method="CustomRange".
Attributes:
  • from that defines the beginning of the interval values from which the custom color method is applied
  • to that defines the end of the interval values to which the custom color method is applied

Example

Map Series
<coloring>
    ...
    <mapSeries method="CustomRange" useInternalPalette="true">
        <outOfRange>
            <color rgb="#c0c0c0" alpha="117"/>
        </outOfRange>
        <nullOrEmpty>
            <color rgb="#e0e0e0" alpha="125"/>
        </nullOrEmpty>
        <data distributionMode="ByQuantiles" intervalSyntax="ISO31-11"/>
        <ranges percentage="true">
            <range from="0.0" to="33.0">
                <color rgb="#ff0000" alpha="255"/>
            </range>
            <range from="33.0" to="67.0">
                <color rgb="#000000" alpha="255"/>
            </range>
            <range from="67.0" to="100.0">
                <color rgb="#00ff00" alpha="255"/>
            </range>
        </ranges>
    </mapSeries>
</coloring>

Example

Tag Cloud Series
<coloring>
    ...
    <tagCloudSeries method="Palette">
        <outOfRange>
            <color rgb="#c0c0c0" alpha="117"/>
        </outOfRange>
        <nullOrEmpty>
            <color rgb="#e0e0e0" alpha="125"/>
        </nullOrEmpty>
        <data distributionMode="ByQuantiles" intervalSyntax="ISO31-11"/>
        <ranges number="5" from="-4.497" to="220000.0"/>
    </tagCloudSeries>
</coloring>
Waterfall Series

<waterfallSeries> contains all settings to configure the color of some specified values. Each of the following <waterfallSeries> children elements has the type attribute (Auto|Fixed). If type is Fixed, then a <color> has to be set. Gradients of colors are allowed for the start and total values only.

Element Description
<start> The color of the start value
<total> The color of the total value
<negative> The color of the negative values
<positive> The color of the positive values

Example

<coloring>
    ...
    <waterfallSeries>
        <start type="Fixed">
            <color rgb="#00ff00" alpha="130"/>
        </start>
        <total type="Fixed">
            <color rgb="#0000ff" alpha="110"/>
        </total>
        <negative type="Auto"/>
        <positive type="Auto"/>
    </waterfallSeries>
</coloring>