Пример #1
0
 public static CT_TimeUnit Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_TimeUnit ctObj = new CT_TimeUnit();
     if (node.Attributes["val"] != null)
         ctObj.val = (ST_TimeUnit)Enum.Parse(typeof(ST_TimeUnit), node.Attributes["val"].Value);
     return ctObj;
 }
Пример #2
0
 public CT_DateAx()
 {
     this.extLstField = new List<CT_Extension>();
     this.minorTimeUnitField = new CT_TimeUnit();
     this.minorUnitField = new CT_AxisUnit();
     this.majorTimeUnitField = new CT_TimeUnit();
     this.majorUnitField = new CT_AxisUnit();
     this.baseTimeUnitField = new CT_TimeUnit();
     this.lblOffsetField = new CT_LblOffset();
     this.autoField = new CT_Boolean();
     this.crossAxField = new CT_UnsignedInt();
     this.tickLblPosField = new CT_TickLblPos();
     this.minorTickMarkField = new CT_TickMark();
     this.majorTickMarkField = new CT_TickMark();
     this.numFmtField = new CT_NumFmt();
     this.titleField = new CT_Title();
     this.minorGridlinesField = new CT_ChartLines();
     this.majorGridlinesField = new CT_ChartLines();
     this.axPosField = new CT_AxPos();
     this.deleteField = new CT_Boolean();
     this.scalingField = new CT_Scaling();
     this.axIdField = new CT_UnsignedInt();
 }