Skip to main content

PivotGridOptionsChartDataSourceBase.ProvideColumnGrandTotals Property

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

Namespace: DevExpress.XtraPivotGrid.Data

Assembly: DevExpress.PivotGrid.v23.1.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Dashboard.Design

Declaration

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

Property Value

Type Default Description
Boolean false

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:

Chart_ShowColumnGrandTotals_True

If the ProvideColumnGrandTotals property is set to false, a series for the “Grand Total” column is not created:

Chart_ShowColumnGrandTotals_False

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ProvideColumnGrandTotals property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also