java.lang.Object
org.docx4j.com.microsoft.schemas.office.drawing.x2014.chartex.CTChartData

public class CTChartData extends Object

Java class for CT_ChartData complex type.

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

 <complexType name="CT_ChartData">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="externalData" type="{http://schemas.microsoft.com/office/drawing/2014/chartex}CT_ExternalData" minOccurs="0"/>
         <element name="data" type="{http://schemas.microsoft.com/office/drawing/2014/chartex}CT_Data" maxOccurs="unbounded"/>
         <element name="extLst" type="{http://schemas.microsoft.com/office/drawing/2014/chartex}CT_ExtensionList" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTChartData

      public CTChartData()
  • Method Details

    • getExternalData

      public CTExternalData getExternalData()
      Gets the value of the externalData property.
      Returns:
      possible object is CTExternalData
    • setExternalData

      public void setExternalData(CTExternalData value)
      Sets the value of the externalData property.
      Parameters:
      value - allowed object is CTExternalData
    • getData

      public List<CTData> getData()
      Gets the value of the data 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 Jakarta XML Binding object. This is why there is not a set method for the data property.

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

          getData().add(newItem);
       

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

    • 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