Skip to main content

WebChartControl.BoundDataChanged Event

Occurs every time a chart control generates its series points from the data source.

Namespace: DevExpress.XtraCharts.Web

Assembly: DevExpress.XtraCharts.v22.2.Web.dll

NuGet Package: DevExpress.Web.Visualization


public event BoundDataChangedEventHandler BoundDataChanged

Event Data

The BoundDataChanged event's data class is EventArgs.


Use the BoundDataChanged event to change a series’s SeriesBase.Visible property, or to change any properties of series labels or a series view.


This example demonstrates how to access the auto-created series appearance settings at runtime.

Handle the WebChartControl.BoundDataChanged event to access an individual series’ settings.

View Example

private void WebChartControl_BoundDataChanged(object sender, EventArgs e) {
    Series series = webChartControl.Series.Where(s => s.Name == "2015").FirstOrDefault() as Series;
    if(series != null) {
        SideBySideBarSeriesView view = series.View as SideBySideBarSeriesView;
        if(view != null) {
            view.Color = System.Drawing.Color.Orange;
            view.FillStyle.FillMode = FillMode.Solid;
See Also