Free Trial Buy Now

Data Binding - Using Series Template

v
Chart Appearance:
v
Palette:
v

Series Data Member:
v

The US Regions Gross State Product chart.

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 ChartControl.SeriesTemplate property.

In this demo, the second approach is used. The number of series is displayed at the view's top left corner.

Use the Series Data Member drop-down list to select a data field whose values are used to generate and populate series.

If the "Year" field is selected, the chart shows GSP per Region for each Year. Otherwise, if "Region" is selected, the chart shows GSP per Year for each Region.

Note: In this demo, you're able to click on a particular bar, and specific information about the currently selected series and its point will be displayed in the top-left corner of the chart.

Related Video: ASP.NET Charts - Databinding a Series Template

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.