PivotGridOptionsChartDataSourceBase.ProvideColumnGrandTotals Property
Gets or sets whether column grand totals are passed to a chart control.
Namespace: DevExpress.XtraPivotGrid.Data
Assembly: DevExpress.PivotGrid.v20.2.Core.dll
Declaration
[DefaultValue(false)]
public virtual bool ProvideColumnGrandTotals { get; set; }
<DefaultValue(False)>
Public Overridable Property ProvideColumnGrandTotals As Boolean
Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
true if column 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 ProvideColumnGrandTotals |
---|---|---|
WinForms Controls | PivotGridControl |
|
ASP.NET Controls and MVC Extensions | ASPxPivotGrid |
|
MVCxPivotGrid |
|
|
PivotGridSettings |
|
|
Reporting | XRPivotGrid |
|
Remarks
In the following image, a chart control creates series for selected PivotGrid columns (the PivotGridOptionsChartDataSourceBase.ProvideDataByColumns property is set to true). The ProvideColumnGrandTotals property is set to true, and a series representing the "Grand Total" column is created in a chart control:
If the ProvideColumnGrandTotals property is set to false, a series for the "Grand Total" column is not created:
NOTE
This property is in effect when PivotGridOptionsChartDataSourceBase.DataProvideMode is set to PivotChartDataProvideMode.UseCustomSettings.