Back to Devexpress

PivotGridDataSourceOptions.SinglePageOnly Property

corelibraries-devexpress-dot-xtracharts-dot-pivotgriddatasourceoptions-acd07e6f.md

latest3.8 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public bool SinglePageOnly { get; set; }
vb
Public Property SinglePageOnly As Boolean

Property Value

TypeDescription
Boolean

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

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to SinglePageOnly
WinForms ControlsChartControl

.PivotGridDataSourceOptions .SinglePageOnly

| | ASP.NET MVC Extensions | ChartControlSettings |

.PivotGridDataSourceOptions .SinglePageOnly

| | .NET Reporting Tools | XRChart |

.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

Integrate the WinForms Chart with the Pivot Grid Control

Integrate WebChartControl with a Pivot Grid Control

PivotGridDataSourceOptions Class

PivotGridDataSourceOptions Members

DevExpress.XtraCharts Namespace