PivotGridOptionsChartDataSourceBase.ProvideColumnTotals Property

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

Namespace: DevExpress.XtraPivotGrid.Data

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

Declaration

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

Property Value

Type Default Description
Boolean

false

true if column 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 ProvideColumnTotals
WinForms Controls PivotGridControl
.OptionsChartDataSource.ProvideColumnTotals
Reporting XRPivotGrid
.OptionsChartDataSource.ProvideColumnTotals
ASP.NET MVC Extensions MVCxPivotGrid
.OptionsChartDataSource.ProvideColumnTotals
PivotGridSettings
.OptionsChartDataSource.ProvideColumnTotals
ASP.NET Web Forms Controls ASPxPivotGrid
.OptionsChartDataSource.ProvideColumnTotals

Remarks

In the following image, a chart control creates series for selected PivotGrid columns (the PivotGridOptionsChartDataSourceBase.ProvideDataByColumns property is set to true). The ProvideColumnTotals property is set to true, and a series representing the "1994 Total" column is created in a chart control:

Chart_ShowColumnTotals_True

If the ProvideColumnTotals property is set to false, a series for the "1994 Total" column is not created:

Chart_ShowColumnTotals_False

See Also