Back to Devexpress

PivotGridOptionsChartDataSourceBase.ProvideColumnGrandTotals Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-data-dot-pivotgridoptionschartdatasourcebase-061ee5ef.md

latest2.7 KB
Original Source

PivotGridOptionsChartDataSourceBase.ProvideColumnGrandTotals Property

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

Namespace : DevExpress.XtraPivotGrid.Data

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

NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
public virtual bool ProvideColumnGrandTotals { get; set; }
vb
<DefaultValue(False)>
Public Overridable Property ProvideColumnGrandTotals As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if column grand totals are displayed in a chart control; otherwise, false.

|

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.

See Also

PivotGridOptionsChartDataSourceBase Class

PivotGridOptionsChartDataSourceBase Members

DevExpress.XtraPivotGrid.Data Namespace