corelibraries-devexpress-dot-xtracharts-dot-pivotgriddatasourceoptions-acd07e6f.md
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.v25.2.dll
NuGet Package : DevExpress.Charts
public bool SinglePageOnly { get; set; }
Public Property SinglePageOnly As Boolean
| Type | Description |
|---|---|
| Boolean |
true to pass only the data from the current page; otherwise, false.
|
You can access this nested property as listed below:
| Library | Object Type | Path to SinglePageOnly |
|---|---|---|
| WinForms Controls | ChartControl |
.PivotGridDataSourceOptions .SinglePageOnly
| | ASP.NET MVC Extensions | ChartControlSettings |
.PivotGridDataSourceOptions .SinglePageOnly
| | .NET Reporting Tools | XRChart |
.PivotGridDataSourceOptions .SinglePageOnly
| | ASP.NET Web Forms Controls | WebChartControl |
.PivotGridDataSourceOptions .SinglePageOnly
|
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
Integrate the WinForms Chart with the Pivot Grid Control
Integrate WebChartControl with a Pivot Grid Control
PivotGridDataSourceOptions Class