Shopping cart Download trialFree Trial

Tag Property

  • v
  • v
  • v

Russian FederationCanadaUnited StatesChinaBrazilAustralia020004000600080001000012000140001600018000Millions of Square KilometersArea of CountriesFrom www.nationmaster.comRussian FederationCanadaUnited States of AmericaPeople's Republic of ChinaFederative Republic of BrazilCommonwealth of Australia
Label Settings

This demo illustrates how to use the Tag property of the SeriesPoint class.

In this example, the Tag property stores information from the underlying datasource (a country's official name), and then its value is used to populate legend items for corresponding series points.

This feature is very useful when it is necessary to store some specific information associated with a particular series point.

In this demo, you're able to change the visibility of the labels shown for each series point.

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