Пример #1
0
        public static CT_ScatterStyle Parse(XmlNode node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_ScatterStyle ctObj = new CT_ScatterStyle();

            if (node.Attributes["val"] != null)
            {
                ctObj.val = (ST_ScatterStyle)Enum.Parse(typeof(ST_ScatterStyle), node.Attributes["val"].Value);
            }
            return(ctObj);
        }
Пример #2
0
        public static CT_ScatterChart Parse(XmlNode node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_ScatterChart ctObj = new CT_ScatterChart();

            ctObj.ser    = new List <CT_ScatterSer>();
            ctObj.axId   = new List <CT_UnsignedInt>();
            ctObj.extLst = new List <CT_Extension>();
            foreach (XmlNode childNode in node.ChildNodes)
            {
                if (childNode.LocalName == "scatterStyle")
                {
                    ctObj.scatterStyle = CT_ScatterStyle.Parse(childNode, namespaceManager);
                }
                else if (childNode.LocalName == "varyColors")
                {
                    ctObj.varyColors = CT_Boolean.Parse(childNode, namespaceManager);
                }
                else if (childNode.LocalName == "dLbls")
                {
                    ctObj.dLbls = CT_DLbls.Parse(childNode, namespaceManager);
                }
                else if (childNode.LocalName == "ser")
                {
                    ctObj.ser.Add(CT_ScatterSer.Parse(childNode, namespaceManager));
                }
                else if (childNode.LocalName == "axId")
                {
                    ctObj.axId.Add(CT_UnsignedInt.Parse(childNode, namespaceManager));
                }
                else if (childNode.LocalName == "extLst")
                {
                    ctObj.extLst.Add(CT_Extension.Parse(childNode, namespaceManager));
                }
            }
            return(ctObj);
        }
Пример #3
0
 public CT_ScatterStyle AddNewScatterStyle()
 {
     this.scatterStyleField = new CT_ScatterStyle();
     return scatterStyleField;
 }
Пример #4
0
 public static CT_ScatterStyle Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_ScatterStyle ctObj = new CT_ScatterStyle();
     if (node.Attributes["val"] != null)
         ctObj.val = (ST_ScatterStyle)Enum.Parse(typeof(ST_ScatterStyle), node.Attributes["val"].Value);
     return ctObj;
 }
Пример #5
0
 public CT_ScatterStyle AddNewScatterStyle()
 {
     this.scatterStyleField = new CT_ScatterStyle();
     return(scatterStyleField);
 }
Пример #6
0
 public CT_ScatterChart()
 {
     this.extLstField = new List<CT_Extension>();
     this.axIdField = new List<CT_UnsignedInt>();
     this.dLblsField = new CT_DLbls();
     this.serField = new List<CT_ScatterSer>();
     this.varyColorsField = new CT_Boolean();
     this.scatterStyleField = new CT_ScatterStyle();
 }