PivotGridDataSourceOptions.AutoBindingSettingsEnabled Property
Specifies whether or not the chart’s data binding is automatically adjusted during the creation of a Pivot Chart.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, to automatically adjust the chart’s binding settings; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to AutoBindingSettingsEnabled |
---|---|---|
WinForms Controls | ChartControl |
|
.NET Reporting Tools | XRChart |
|
ASP.NET MVC Extensions | ChartControlSettings |
|
ASP.NET Web Forms Controls | WebChartControl |
|
Remarks
Use the AutoBindingSettingsEnabled and PivotGridDataSourceOptions.AutoLayoutSettingsEnabled properties to adjust your chart to the associated PivotGridControl automatically.
To access the PivotGridDataSourceOptions object, use the ChartControl.PivotGridDataSourceOptions (ChartControlSettings.PivotGridDataSourceOptions) property.
When the AutoBindingSettingsEnabled property is turned on, the following properties are set automatically:
- The ChartControl.SeriesDataMember property;
- The series template‘s SeriesBase.ArgumentDataMember and SeriesBase.ValueDataMembers, as well as its SeriesBase.ArgumentScaleType and SeriesBase.ValueScaleType.
To manually adjust these settings, handle the ChartControl.CustomizeAutoBindingSettings event.
For more information, see Pivot Charting (Integration with a Pivot Grid Control).