public static CT_TrendlineType Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) return null; CT_TrendlineType ctObj = new CT_TrendlineType(); if (node.Attributes["val"] != null) ctObj.val = (ST_TrendlineType)Enum.Parse(typeof(ST_TrendlineType), node.Attributes["val"].Value); return ctObj; }
public CT_Trendline() { this.extLstField = new List<CT_Extension>(); this.trendlineLblField = new CT_TrendlineLbl(); this.dispEqField = new CT_Boolean(); this.dispRSqrField = new CT_Boolean(); this.interceptField = new CT_Double(); this.backwardField = new CT_Double(); this.forwardField = new CT_Double(); this.periodField = new CT_Period(); this.orderField = new CT_Order(); this.trendlineTypeField = new CT_TrendlineType(); }