Back to Devexpress

PivotGridDataSourceOptions.RetrieveRowGrandTotals Property

corelibraries-devexpress-dot-xtracharts-dot-pivotgriddatasourceoptions-345ebcf5.md

latest4.2 KB
Original Source

PivotGridDataSourceOptions.RetrieveRowGrandTotals Property

Specifies whether or not row grand totals should be passed to a Chart from its associated Pivot Grid.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public bool RetrieveRowGrandTotals { get; set; }
vb
Public Property RetrieveRowGrandTotals As Boolean

Property Value

TypeDescription
Boolean

true to retrieve row grand totals; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to RetrieveRowGrandTotals
WinForms ControlsChartControl

.PivotGridDataSourceOptions .RetrieveRowGrandTotals

| | ASP.NET MVC Extensions | ChartControlSettings |

.PivotGridDataSourceOptions .RetrieveRowGrandTotals

| | .NET Reporting Tools | XRChart |

.PivotGridDataSourceOptions .RetrieveRowGrandTotals

| | ASP.NET Web Forms Controls | WebChartControl |

.PivotGridDataSourceOptions .RetrieveRowGrandTotals

|

Remarks

The RetrieveRowGrandTotals property is linked together with the PivotGridOptionsChartDataSourceBase.ProvideRowGrandTotals property of the associated Pivot Grid.

Use the PivotGridDataSourceOptions.RetrieveRowTotals, RetrieveRowGrandTotals and PivotGridDataSourceOptions.RetrieveRowCustomTotals properties, to define whether a Pivot Grid’s row totals are reflected in a Chart.

Column totals are maintained by the PivotGridDataSourceOptions.RetrieveColumnTotals, PivotGridDataSourceOptions.RetrieveColumnGrandTotals and PivotGridDataSourceOptions.RetrieveColumnCustomTotals properties.

Note

If the Chart’s data source is not a Pivot Grid, trying to set this property causes a NotSupportedException, and the RetrieveRowGrandTotals property to return false when trying to get its value.

For more information, see Pivot Charting (Integration with a Pivot Grid Control).

See Also

Integrate the WinForms Chart with the Pivot Grid Control

PivotGridDataSourceOptions Class

PivotGridDataSourceOptions Members

DevExpress.XtraCharts Namespace