Back to Devexpress

PivotGridOptionsChartDataSourceBase.ProvideRowGrandTotals Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-data-dot-pivotgridoptionschartdatasourcebase-00bf0188.md

latest2.7 KB
Original Source

PivotGridOptionsChartDataSourceBase.ProvideRowGrandTotals Property

Gets or sets whether row grand totals are passed to a chart control.

Namespace : DevExpress.XtraPivotGrid.Data

Assembly : DevExpress.PivotGrid.v25.2.Core.dll

NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
public virtual bool ProvideRowGrandTotals { get; set; }
vb
<DefaultValue(False)>
Public Overridable Property ProvideRowGrandTotals As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if row grand totals are displayed in a chart control; otherwise, false.

|

Remarks

In the following image, a chart control creates series for selected PivotGrid columns (the PivotGridOptionsChartDataSourceBase.ProvideDataByColumns property is set to true ). The ProvideRowGrandTotals property is set to true , and the PivotGrid’s “Grand Total” row data is passed to a chart control:

If the ProvideRowGrandTotals property is set to false , the PivotGrid’s “Grand Total” row data is not passed to a chart control:

Note

This property is in effect when PivotGridOptionsChartDataSourceBase.DataProvideMode is set to PivotChartDataProvideMode.UseCustomSettings.

See Also

PivotGridOptionsChartDataSourceBase Class

PivotGridOptionsChartDataSourceBase Members

DevExpress.XtraPivotGrid.Data Namespace