[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IPivotOptions.ShowReportFilterFieldButtons

ShowReportFilterFieldButtons Property

ShowReportFilterFieldButtons

Gets or sets whether the report filter field buttons are displayed on a PivotChart.

Declaration
bool ShowReportFilterFieldButtons { get; set; }
Property ShowReportFilterFieldButtons As Boolean
Examples
worksheet.Range["A1:B4"].Value = new object[,] {
    {"Region", "Amount"},
    {"East", 100},
    {"West", 200},
    {"East", 150}
};
IPivotCache pivotCache = workbook.PivotCaches.Create(worksheet.Range["A1:B4"]);
IPivotTable pivotTable = worksheet.PivotTables.Add(pivotCache, worksheet.Range["D1"], "SalesPivot");
pivotTable.PivotFields["Region"].Orientation = PivotFieldOrientation.PageField;
pivotTable.PivotFields["Amount"].Orientation = PivotFieldOrientation.DataField;
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 10, 10, 300, 200).Chart;
chart.SeriesCollection.Add(pivotTable.TableRange1);
bool showReportFilterButtons = chart.PivotOptions.ShowReportFilterFieldButtons;