Beispiel #1
0
 public CT_LineSer()
 {
     this.extLstField = new List<CT_Extension>();
     this.smoothField = new CT_Boolean();
     this.valField = new CT_NumDataSource();
     this.catField = new CT_AxDataSource();
     this.errBarsField = new CT_ErrBars();
     this.trendlineField = new List<CT_Trendline>();
     this.dLblsField = new CT_DLbls();
     this.dPtField = new List<CT_DPt>();
     this.markerField = new CT_Marker();
     this.txField = new CT_SerTx();
     this.orderField = new CT_UnsignedInt();
     this.idxField = new CT_UnsignedInt();
 }
Beispiel #2
0
 public static CT_ErrBars Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_ErrBars ctObj = new CT_ErrBars();
     ctObj.extLst = new List<CT_Extension>();
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "errDir")
             ctObj.errDir = CT_ErrDir.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "errBarType")
             ctObj.errBarType = CT_ErrBarType.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "errValType")
             ctObj.errValType = CT_ErrValType.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "noEndCap")
             ctObj.noEndCap = CT_Boolean.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "plus")
             ctObj.plus = CT_NumDataSource.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "minus")
             ctObj.minus = CT_NumDataSource.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "val")
             ctObj.val = CT_Double.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "spPr")
             ctObj.spPr = CT_ShapeProperties.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "extLst")
             ctObj.extLst.Add(CT_Extension.Parse(childNode, namespaceManager));
     }
     return ctObj;
 }
Beispiel #3
0
 public CT_BarSer()
 {
     this.extLstField = new List<CT_Extension>();
     this.shapeField = new CT_Shape();
     this.valField = new CT_NumDataSource();
     this.catField = new CT_AxDataSource();
     this.errBarsField = new CT_ErrBars();
     this.trendlineField = new List<CT_Trendline>();
     this.dLblsField = new CT_DLbls();
     this.dPtField = new List<CT_DPt>();
     this.pictureOptionsField = new CT_PictureOptions();
     this.invertIfNegativeField = new CT_Boolean();
     this.txField = new CT_SerTx();
     this.orderField = new CT_UnsignedInt();
     this.idxField = new CT_UnsignedInt();
 }