Back to Devexpress

PivotGridDataSourceOptions.RetrieveColumnCustomTotals Property

corelibraries-devexpress-dot-xtracharts-dot-pivotgriddatasourceoptions-b5ee13ab.md

latest4.3 KB
Original Source

PivotGridDataSourceOptions.RetrieveColumnCustomTotals Property

Specifies whether or not column custom 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 RetrieveColumnCustomTotals { get; set; }
vb
Public Property RetrieveColumnCustomTotals As Boolean

Property Value

TypeDescription
Boolean

true to retrieve column custom totals; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to RetrieveColumnCustomTotals
WinForms ControlsChartControl

.PivotGridDataSourceOptions .RetrieveColumnCustomTotals

| | ASP.NET MVC Extensions | ChartControlSettings |

.PivotGridDataSourceOptions .RetrieveColumnCustomTotals

| | .NET Reporting Tools | XRChart |

.PivotGridDataSourceOptions .RetrieveColumnCustomTotals

| | ASP.NET Web Forms Controls | WebChartControl |

.PivotGridDataSourceOptions .RetrieveColumnCustomTotals

|

Remarks

The RetrieveColumnCustomTotals property is linked together with the PivotGridOptionsChartDataSourceBase.ProvideColumnCustomTotals property of the associated Pivot Grid.

Use the PivotGridDataSourceOptions.RetrieveColumnTotals, PivotGridDataSourceOptions.RetrieveColumnGrandTotals and RetrieveColumnCustomTotals properties, to define whether a Pivot Grid’s column totals are reflected in a Chart.

Row totals are maintained by the PivotGridDataSourceOptions.RetrieveRowTotals, PivotGridDataSourceOptions.RetrieveRowGrandTotals and PivotGridDataSourceOptions.RetrieveRowCustomTotals properties.

Note

If the Chart’s data source is not a Pivot Grid, trying to set this property causes a NotSupportedException, and the RetrieveColumnCustomTotals property returns false , when attempting 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