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.1.dll
NuGet Package: DevExpress.Charts
Declaration
[NonTestableProperty]
[TypeConverter(typeof(BooleanTypeConverter))]
[XtraSerializableProperty(XtraSerializationVisibility.Hidden)]
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 |
|
ASP.NET Web Forms Controls | WebChartControl |
|
ASP.NET MVC Extensions | ChartControlSettings |
|
.NET Reporting Tools | XRChart |
|
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).