WebChartControl.CustomizeAutoBindingSettings Event
Occurs after automatic settings are applied to a chart’s data source.
Namespace: DevExpress.XtraCharts.Web
Assembly: DevExpress.XtraCharts.v24.1.Web.dll
NuGet Package: DevExpress.Web.Visualization
Declaration
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 WebChartControl.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).