Skip to main content
A newer version of this page is available. .

PivotGridOptionsChartDataSourceBase.ProvideRowGrandTotals Property

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

Namespace: DevExpress.XtraPivotGrid.Data

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

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.WindowsDesktop.PivotGrid.Core

Declaration

[DefaultValue(false)]
public virtual bool ProvideRowGrandTotals { get; set; }

Property Value

Type Default Description
Boolean **false**

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

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ProvideRowGrandTotals
WinForms Controls PivotGridControl
.OptionsChartDataSource .ProvideRowGrandTotals
Reporting XRPivotGrid
.OptionsChartDataSource .ProvideRowGrandTotals
ASP.NET MVC Extensions MVCxPivotGrid
.OptionsChartDataSource .ProvideRowGrandTotals
PivotGridSettings
.OptionsChartDataSource .ProvideRowGrandTotals
ASP.NET Web Forms Controls ASPxPivotGrid
.OptionsChartDataSource .ProvideRowGrandTotals

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:

Chart_ShowRowGrandTotals_True

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

Chart_ShowRowGrandTotals_False

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ProvideRowGrandTotals property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also