Skip to main content

PivotGridDataSourceOptions.SinglePageOnly Property

Specifies whether or not only the data from the Pivot Grid’s current page is passed to the associated Chart.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

Declaration

public bool SinglePageOnly { get; set; }

Property Value

Type Description
Boolean

true to pass only the data from the current page; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to SinglePageOnly
WinForms Controls ChartControl
.PivotGridDataSourceOptions .SinglePageOnly
.NET Reporting Tools XRChart
.PivotGridDataSourceOptions .SinglePageOnly
ASP.NET MVC Extensions ChartControlSettings
.PivotGridDataSourceOptions .SinglePageOnly
ASP.NET Web Forms Controls WebChartControl
.PivotGridDataSourceOptions .SinglePageOnly

Remarks

The SinglePageOnly property is linked together with the PivotGridWebOptionsChartDataSource.CurrentPageOnly property of the associated ASPxPivotGrid.

This property is not available in the ChartControl.PivotGridDataSourceOptions. The PivotGridDataSourceOptions.SelectionOnly property should be used instead.

Note

If the Chart’s data source is not a Pivot Grid, trying to set this property causes a NotSupportedException, and the SinglePageOnly property returns false, when trying to get its value.

For more information, see Pivot Charting (Integration with a Pivot Grid Control).

See Also