Free Trial Buy Now

Data Binding - Binding Individual Series

v
Chart Appearance:
v
Palette:
v

Filter By Category:
v
Sort By:
v
Sort Order:
v

The Northwind Traders chart showing Products series.

Description

The WebChartControl allows its Series to be bound to data in two ways:

  • You are manually creating a series and bind it to the required fields in the data source.
  • The WebChartControl dynamically creates series based on the template settings that can be accessed via the WebChartControl.SeriesTemplate property.

In this demo, the first approach is used.

The selected category, its minimum, maximum and average prices are displayed at the chart's top-left corner. This information is dynamically updated for the selected category.

To do this, the BoundDataChanged event is handled after a new filter is applied.

Related Video: ASP.NET Charts – Binding An Individual Series

Version: v2012 vol 2.8
Experience the DevExpress Difference Today
Demos with source code are included with an installation of DevExpress controls for ASP.NET. Refer to the Demos and Sample Applications topic to learn more.
To download your free evaluation copy of our award-winning ASP.NET libraries, visit the Downloads page
All DevExpress ASP.NET Controls ship as part of DXperience ASP.NET, Enterprise, and Universal.
To obtain pricing information, visit the Pricing Options page or contact us via Email at info@devexpress.com
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.