PivotGridOptionsChartDataSourceBase.ProvideRowTotals Property
Gets or sets whether row totals are passed to a chart control.
Namespace: DevExpress.XtraPivotGrid.Data
Assembly: DevExpress.PivotGrid.v18.2.Core.dll
Declaration
[DefaultValue(false)]
[XtraSerializableProperty(-100)]
public virtual bool ProvideRowTotals { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | **false** | true if row 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 ProvideRowTotals |
---|---|---|
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 rows (the PivotGridOptionsChartDataSourceBase.ProvideDataByColumns property is set to false). The ProvideRowTotals property is set to true, and a series representing the “Austria Total” row is created in a chart control:
If the ProvideRowTotals property is set to false, a series for the “Austria Total” row is not created:
Note
This property is in effect when PivotGridOptionsChartDataSourceBase.DataProvideMode is set to PivotChartDataProvideMode.UseCustomSettings.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ProvideRowTotals 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.