public XLPivotTable() { Fields = new XLPivotFields(); ReportFilters = new XLPivotFields(); ColumnLabels = new XLPivotFields(); RowLabels = new XLPivotFields(); Values = new XLPivotValues(this); Theme = XLPivotTableTheme.PivotStyleLight16; SetExcelDefaults(); }
public XLPivotTable() { Fields = new XLPivotFields(); ReportFilters = new XLPivotFields(); ColumnLabels=new XLPivotFields(); RowLabels = new XLPivotFields(); Values = new XLPivotValues(); Theme = XLPivotTableTheme.PivotStyleLight16; SetExcelDefaults(); }
public XLPivotTable(IXLWorksheet worksheet) { this.Worksheet = worksheet ?? throw new ArgumentNullException(nameof(worksheet)); this.Guid = Guid.NewGuid(); Fields = new XLPivotFields(this); ReportFilters = new XLPivotFields(this); ColumnLabels = new XLPivotFields(this); RowLabels = new XLPivotFields(this); Values = new XLPivotValues(this); Theme = XLPivotTableTheme.PivotStyleLight16; SetExcelDefaults(); }