ChartControl.CustomizeAutoBindingSettings Event
Occurs after automatic settings are applied to a chart’s data source.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.UI.dll
NuGet Package: DevExpress.Win.Charts
#Declaration
public event CustomizeAutoBindingSettingsEventHandler CustomizeAutoBindingSettings
#Event Data
The CustomizeAutoBindingSettings event's data class is EventArgs.
#Remarks
When a familiar data source (such as the PivotGridControl) is assigned to the chart’s ChartControl.DataSource property, handle the CustomizeAutoBindingSettings event, to manually adjust the automatic settings applied when the PivotGridDataSourceOptions.AutoBindingSettingsEnabled property is turned on.
These settings are listed below.
- ChartControl.SeriesDataMember;
- SeriesBase.ArgumentDataMember, SeriesBase.ValueDataMembers, SeriesBase.ArgumentScaleType and SeriesBase.ValueScaleType of the series template.
For more information, see Pivot Charting (Integration with a Pivot Grid Control).