Class CTBarChart

java.lang.Object
org.docx4j.dml.chart.CTBarChart
All Implemented Interfaces:
Child

public class CTBarChart
extends java.lang.Object
implements Child

Java class for CT_BarChart complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_BarChart">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{http://schemas.openxmlformats.org/drawingml/2006/chart}EG_BarChartShared"/>
         <element name="gapWidth" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_GapAmount" minOccurs="0"/>
         <element name="overlap" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_Overlap" minOccurs="0"/>
         <element name="serLines" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_ChartLines" maxOccurs="unbounded" minOccurs="0"/>
         <element name="axId" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_UnsignedInt" maxOccurs="2" minOccurs="2"/>
         <element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_ExtensionList" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTBarChart

      public CTBarChart()
  • Method Details

    • getBarDir

      public CTBarDir getBarDir()
      Gets the value of the barDir property.
      Returns:
      possible object is CTBarDir
    • setBarDir

      public void setBarDir​(CTBarDir value)
      Sets the value of the barDir property.
      Parameters:
      value - allowed object is CTBarDir
    • getGrouping

      public CTBarGrouping getGrouping()
      Gets the value of the grouping property.
      Returns:
      possible object is CTBarGrouping
    • setGrouping

      public void setGrouping​(CTBarGrouping value)
      Sets the value of the grouping property.
      Parameters:
      value - allowed object is CTBarGrouping
    • getVaryColors

      public CTBoolean getVaryColors()
      Gets the value of the varyColors property.
      Returns:
      possible object is CTBoolean
    • setVaryColors

      public void setVaryColors​(CTBoolean value)
      Sets the value of the varyColors property.
      Parameters:
      value - allowed object is CTBoolean
    • getSer

      public java.util.List<CTBarSer> getSer()
      Gets the value of the ser property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the ser property.

      For example, to add a new item, do as follows:

          getSer().add(newItem);
       

      Objects of the following type(s) are allowed in the list CTBarSer

    • getDLbls

      public CTDLbls getDLbls()
      Gets the value of the dLbls property.
      Returns:
      possible object is CTDLbls
    • setDLbls

      public void setDLbls​(CTDLbls value)
      Sets the value of the dLbls property.
      Parameters:
      value - allowed object is CTDLbls
    • getGapWidth

      public CTGapAmount getGapWidth()
      Gets the value of the gapWidth property.
      Returns:
      possible object is CTGapAmount
    • setGapWidth

      public void setGapWidth​(CTGapAmount value)
      Sets the value of the gapWidth property.
      Parameters:
      value - allowed object is CTGapAmount
    • getOverlap

      public CTOverlap getOverlap()
      Gets the value of the overlap property.
      Returns:
      possible object is CTOverlap
    • setOverlap

      public void setOverlap​(CTOverlap value)
      Sets the value of the overlap property.
      Parameters:
      value - allowed object is CTOverlap
    • getSerLines

      public java.util.List<CTChartLines> getSerLines()
      Gets the value of the serLines property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the serLines property.

      For example, to add a new item, do as follows:

          getSerLines().add(newItem);
       

      Objects of the following type(s) are allowed in the list CTChartLines

    • getAxId

      public java.util.List<CTUnsignedInt> getAxId()
      Gets the value of the axId property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the axId property.

      For example, to add a new item, do as follows:

          getAxId().add(newItem);
       

      Objects of the following type(s) are allowed in the list CTUnsignedInt

    • getExtLst

      public CTExtensionList getExtLst()
      Gets the value of the extLst property.
      Returns:
      possible object is CTExtensionList
    • setExtLst

      public void setExtLst​(CTExtensionList value)
      Sets the value of the extLst property.
      Parameters:
      value - allowed object is CTExtensionList
    • getParent

      public java.lang.Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal​(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
      This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
      Parameters:
      parent - The parent object in the object tree.
      unmarshaller - The unmarshaller that generated the instance.