Partager via


VaryColors Class

Defines the VaryColors Class.When the object is serialized out as xml, its qualified name is c:varyColors.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.Charts.BooleanType
        DocumentFormat.OpenXml.Drawing.Charts.VaryColors

Namespace:  DocumentFormat.OpenXml.Drawing.Charts
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class VaryColors _
    Inherits BooleanType
'Usage
Dim instance As VaryColors
public class VaryColors : BooleanType

Remarks

[ISO/IEC 29500-1 1st Edition]

21.2.2.227 varyColors (Vary Colors by Point)

This element specifies that each data marker in the series has a different color.

Parent Elements

area3DChart (§21.2.2.4); areaChart (§21.2.2.5); bar3DChart (§21.2.2.15); barChart (§21.2.2.16); bubbleChart (§21.2.2.20); doughnutChart (§21.2.2.50); line3DChart (§21.2.2.96); lineChart (§21.2.2.97); ofPieChart (§21.2.2.126); pie3DChart (§21.2.2.140); pieChart (§21.2.2.141); radarChart (§21.2.2.153); scatterChart (§21.2.2.161)

Attributes

Description

val (Boolean Value)

Specifies a boolean value for the property defined by the parent XML element.

A value of 1 or true specifies that the property is applied. This is the default value for this attribute, and is implied when the parent element is present, but this attribute is omitted.

A value of 0 or false specifies that the property is not applied.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_Boolean) is located in §A.5.1. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

VaryColors Members

DocumentFormat.OpenXml.Drawing.Charts Namespace