Shopping cart Download trialFree Trial

Binding Individual Series

  • v
  • v
  • v

Guaraná FantásticaSasquatch AleOutback LagerSteeleye StoutLakkalikööriIpoh Coffee050100150200250Price, Millions of DollarsCategory: BeveragesMin price: 4.5Max price: 263.5Average price: 37.98Northwind TradersProducts
Data Settings
v
v
v
Label Settings

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 using 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.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\XtraChartsDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\XtraChartsDemos