WebChartControl.CustomizeAutoBindingSettings Event
Occurs after automatic settings are applied to a chart’s data source.
Namespace: DevExpress.XtraCharts.Web
Assembly: DevExpress.XtraCharts.v24.2.Web.dll
NuGet Package: DevExpress.Web.Visualization
#Declaration
public event CustomizeAutoBindingSettingsEventHandler CustomizeAutoBindingSettings
#Event Data
The CustomizeAutoBindingSettings event's data class is EventArgs.
#Remarks
When a familiar data source (such as the ASPxPivotGrid) is assigned to the chart’s ASPxDataWebControlBase.DataSourceID 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.
- WebChartControl.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).