Exemplo n.º 1
0
        public static CT_RadarStyle Parse(XmlNode node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_RadarStyle ctObj = new CT_RadarStyle();

            if (node.Attributes["val"] != null)
            {
                ctObj.val = (ST_RadarStyle)Enum.Parse(typeof(ST_RadarStyle), node.Attributes["val"].Value);
            }
            return(ctObj);
        }
Exemplo n.º 2
0
        public static CT_RadarChart Parse(XmlNode node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_RadarChart ctObj = new CT_RadarChart();

            ctObj.ser    = new List <CT_RadarSer>();
            ctObj.axId   = new List <CT_UnsignedInt>();
            ctObj.extLst = new List <CT_Extension>();
            foreach (XmlNode childNode in node.ChildNodes)
            {
                if (childNode.LocalName == "radarStyle")
                {
                    ctObj.radarStyle = CT_RadarStyle.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_RadarSer.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);
        }
Exemplo n.º 3
0
 public static CT_RadarStyle Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_RadarStyle ctObj = new CT_RadarStyle();
     if (node.Attributes["val"] != null)
         ctObj.val = (ST_RadarStyle)Enum.Parse(typeof(ST_RadarStyle), node.Attributes["val"].Value);
     return ctObj;
 }
Exemplo n.º 4
0
 public CT_RadarChart()
 {
     this.extLstField = new List<CT_Extension>();
     this.axIdField = new List<CT_UnsignedInt>();
     this.dLblsField = new CT_DLbls();
     this.serField = new List<CT_RadarSer>();
     this.varyColorsField = new CT_Boolean();
     this.radarStyleField = new CT_RadarStyle();
 }