共用方式為


ValueAxis Class

Value Axis.When the object is serialized out as xml, its qualified name is c:valAx.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Charts.ValueAxis

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(MajorUnit))> _
<ChildElementInfoAttribute(GetType(AxisId))> _
<ChildElementInfoAttribute(GetType(Scaling))> _
<ChildElementInfoAttribute(GetType(Delete))> _
<ChildElementInfoAttribute(GetType(AxisPosition))> _
<ChildElementInfoAttribute(GetType(MajorGridlines))> _
<ChildElementInfoAttribute(GetType(MinorGridlines))> _
<ChildElementInfoAttribute(GetType(Title))> _
<ChildElementInfoAttribute(GetType(NumberingFormat))> _
<ChildElementInfoAttribute(GetType(MajorTickMark))> _
<ChildElementInfoAttribute(GetType(MinorTickMark))> _
<ChildElementInfoAttribute(GetType(TickLabelPosition))> _
<ChildElementInfoAttribute(GetType(ChartShapeProperties))> _
<ChildElementInfoAttribute(GetType(TextProperties))> _
<ChildElementInfoAttribute(GetType(CrossingAxis))> _
<ChildElementInfoAttribute(GetType(Crosses))> _
<ChildElementInfoAttribute(GetType(CrossesAt))> _
<ChildElementInfoAttribute(GetType(CrossBetween))> _
<ChildElementInfoAttribute(GetType(MinorUnit))> _
<ChildElementInfoAttribute(GetType(DisplayUnits))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class ValueAxis _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As ValueAxis
[ChildElementInfoAttribute(typeof(MajorUnit))]
[ChildElementInfoAttribute(typeof(AxisId))]
[ChildElementInfoAttribute(typeof(Scaling))]
[ChildElementInfoAttribute(typeof(Delete))]
[ChildElementInfoAttribute(typeof(AxisPosition))]
[ChildElementInfoAttribute(typeof(MajorGridlines))]
[ChildElementInfoAttribute(typeof(MinorGridlines))]
[ChildElementInfoAttribute(typeof(Title))]
[ChildElementInfoAttribute(typeof(NumberingFormat))]
[ChildElementInfoAttribute(typeof(MajorTickMark))]
[ChildElementInfoAttribute(typeof(MinorTickMark))]
[ChildElementInfoAttribute(typeof(TickLabelPosition))]
[ChildElementInfoAttribute(typeof(ChartShapeProperties))]
[ChildElementInfoAttribute(typeof(TextProperties))]
[ChildElementInfoAttribute(typeof(CrossingAxis))]
[ChildElementInfoAttribute(typeof(Crosses))]
[ChildElementInfoAttribute(typeof(CrossesAt))]
[ChildElementInfoAttribute(typeof(CrossBetween))]
[ChildElementInfoAttribute(typeof(MinorUnit))]
[ChildElementInfoAttribute(typeof(DisplayUnits))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class ValueAxis : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • AxisId <c:axId>

  • Scaling <c:scaling>

  • Delete <c:delete>

  • AxisPosition <c:axPos>

  • MajorGridlines <c:majorGridlines>

  • MinorGridlines <c:minorGridlines>

  • Title <c:title>

  • NumberingFormat <c:numFmt>

  • MajorTickMark <c:majorTickMark>

  • MinorTickMark <c:minorTickMark>

  • TickLabelPosition <c:tickLblPos>

  • ChartShapeProperties <c:spPr>

  • TextProperties <c:txPr>

  • CrossingAxis <c:crossAx>

  • Crosses <c:crosses>

  • CrossesAt <c:crossesAt>

  • CrossBetween <c:crossBetween>

  • MajorUnit <c:majorUnit>

  • MinorUnit <c:minorUnit>

  • DisplayUnits <c:dispUnits>

  • ExtensionList <c:extLst>

[ISO/IEC 29500-1 1st Edition]

21.2.2.226 valAx (Value Axis)

This element specifies a value axis.

Parent Elements

plotArea (§21.2.2.145)

Child Elements

Subclause

axId (Axis ID)

§21.2.2.9

axPos (Axis Position)

§21.2.2.10

crossAx (Crossing Axis ID)

§21.2.2.31

crossBetween (Cross Between)

§21.2.2.32

crosses (Crosses)

§21.2.2.33

crossesAt (Crossing Value)

§21.2.2.34

delete (Delete)

§21.2.2.40

dispUnits (Display Units)

§21.2.2.45

extLst (Chart Extensibility)

§21.2.2.64

majorGridlines (Major Gridlines)

§21.2.2.100

majorTickMark (Major Tick Mark)

§21.2.2.101

majorUnit (Major Unit)

§21.2.2.103

minorGridlines (Minor Gridlines)

§21.2.2.109

minorTickMark (Minor Tick Mark)

§21.2.2.110

minorUnit (Minor Unit)

§21.2.2.112

numFmt (Number Format)

§21.2.2.121

scaling (Scaling)

§21.2.2.160

spPr (Shape Properties)

§21.2.2.197

tickLblPos (Tick Label Position)

§21.2.2.207

title (Title)

§21.2.2.210

txPr (Text Properties)

§21.2.2.216

[Note: The W3C XML Schema definition of this element’s content model (CT_ValAx) 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

ValueAxis Members

DocumentFormat.OpenXml.Drawing.Charts Namespace