2.8.4.2 ST_ColorStyleMethodEnum

Target namespace: http://schemas.microsoft.com/office/drawing/2012/chartStyle

Referenced by: ST_ColorStyleMethod

This simple type specifies how colors are picked from a CT_ColorStyle (section 2.8.3.2) given a zero based index and a count of objects being colored.<99>

Value

Meaning

cycle

The color picked from CT_ColorStyle is the index modulus the total set of colors in CT_ColorStyle.

withinLinear

The color picked from CT_ColorStyle is the first color with a brightness that varies from darker to lighter based on how close the index is from 0 and the count of objects being colored respectively.

acrossLinear

The color picked from CT_ColorStyle is the index modulus the total set of colors in CT_ColorStyle. The color has a brightness that varies from darker to lighter based on how close the index is from 0 and the count of objects being colored respectively.

withinLinearReversed

The color picked from CT_ColorStyle is the first color with a brightness that varies from lighter to darker based on how close the index is from 0 and the count of objects being colored respectively.

acrossLinearReversed

The color picked from CT_ColorStyle is the index modulus the total set of colors in CT_ColorStyle. The color has a brightness that varies from lighter to darker based on how close the index is from 0 and the count of objects being colored respectively.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this simple type.

 <xsd:simpleType name="ST_ColorStyleMethodEnum">
   <xsd:restriction base="xsd:token">
     <xsd:enumeration value="cycle"/>
     <xsd:enumeration value="withinLinear"/>
     <xsd:enumeration value="acrossLinear"/>
     <xsd:enumeration value="withinLinearReversed"/>
     <xsd:enumeration value="acrossLinearReversed"/>
   </xsd:restriction>
 </xsd:simpleType>

See section 5.15 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).