Free Trial Buy Now

Chart - Using Series Template

The US Regions Gross State Product chart showing 2000 series, 2001 series, 2002 series, 2003 series, 2004 series.

Description

DevExpress MVC Chart allows its series to be bound to data in two ways:

  • All Series objects are manually added to the ChartControlSettings.Series collection, and each series is independently bound to appropriate data members from a chart's datasource.
  • All Series objects are generated dynamically from a chart's data source based on template settings specified via the ChartControlSettings.SeriesTemplate property.

This demo illustrates how to use the second approach, when all series are auto-generated from a datasource according to a specified series template.

In this demo, you can 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.

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 MVC Extensions 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.