Skip to main content

PivotGridDataSourceOptions.RetrieveRowTotals Property

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

NuGet Package: DevExpress.Charts

#Declaration

public bool RetrieveRowTotals { get; set; }

#Property Value

Type Description
Boolean

true to retrieve row totals; otherwise, false.

#Property Paths

You can access this nested property as listed below:

Library Object Type Path to RetrieveRowTotals
WinForms Controls ChartControl
.PivotGridDataSourceOptions .RetrieveRowTotals
.NET Reporting Tools XRChart
.PivotGridDataSourceOptions .RetrieveRowTotals
ASP.NET MVC Extensions ChartControlSettings
.PivotGridDataSourceOptions .RetrieveRowTotals
ASP.NET Web Forms Controls WebChartControl
.PivotGridDataSourceOptions .RetrieveRowTotals

#Remarks

The RetrieveRowTotals property is linked together with the PivotGridOptionsChartDataSourceBase.ProvideRowTotals property of the associated Pivot Grid.

Use the RetrieveRowTotals, PivotGridDataSourceOptions.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 RetrieveRowTotals property to return false, when trying to get its value.

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

See Also