public ChartTrendline Add(ExcelTrendLine type) { ExceptionHelper.TrueThrow <ArgumentException>(this._Serie.Chart.IsType3D() || this._Serie.Chart.IsTypePercentStacked() || this._Serie.Chart.IsTypeStacked() || this._Serie.Chart.IsTypePieDoughnut(), "趋势线并不适用于3D图,堆叠图,饼图或圆环图"); ChartTrendline result = new ChartTrendline(type); this._List.Add(result); return(result); }
public ChartTrendline(ExcelTrendLine type) { this._Type = type; }