Skip to main content
A newer version of this page is available. .

ChartElement.Tag Property

Gets or sets the object that contains data related to the chart element.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.2.dll

NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.Charts

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Misc)]
public object Tag { get; set; }

Property Value

Type Description
Object

A Object that contains data about the chart element.

Property Paths

You can access this nested property as listed below:

Show 158 property paths
Library Object Type Path to Tag
Cross-Platform Class Library AreaSeriesView
AreaSeriesViewBase
AverageTrueRange
Axis
Axis
Axis
Axis
Axis2D
Axis2D
Axis2D
Axis3D
Axis3D
AxisBase
AxisBase
AxisLabel
AxisLabel2D
AxisLabel3D
AxisX
AxisX
AxisX
AxisX
AxisX
AxisX3D
AxisX3D
AxisX3D
AxisXBase
AxisXBase
AxisXBase
AxisXBase
AxisXBase
AxisY
AxisY
AxisY
AxisY
AxisY3D
AxisY3D
AxisYBase
AxisYBase
AxisYBase
AxisYBase
BarSeriesView
BollingerBands
BoxPlotSeriesView
BubbleSeriesView
CandleStickDrawOptions
CandleStickSeriesView
CandleStickSeriesView
ChaikinsVolatility
ChartRangeControlClientDateTimeOptions
ChartRangeControlClientNumericOptions
CommodityChannelIndex
CrosshairOptions
DataSourceBasedErrorBars
DateTimeScaleOptions
DetrendedPriceOscillator
Diagram3D
ErrorBars
ExponentialMovingAverage
FibonacciIndicator
FillStyle2D
.Options .Tag
FillStyle3D
.Options .Tag
FillStyleBase
.Options .Tag
FinancialDrawOptions
FinancialIndicator
FinancialSeriesViewBase
FinancialSeriesViewBase
FixedValueErrorBars
FullStackedAreaPointOptions
FullStackedAreaPointOptions
FullStackedAreaSeriesView
FullStackedBarPointOptions
FullStackedBarPointOptions
FullStackedBarSeriesView
FullStackedLinePointOptions
FullStackedLinePointOptions
FullStackedLineSeriesView
FullStackedPointOptions
FullStackedPointOptions
FullStackedSplineAreaSeriesView
FullStackedStepAreaSeriesView
FunnelDiagram3D
FunnelPointOptions
FunnelPointOptions
GanttAxisX
GanttAxisX
GanttAxisX
GanttAxisX
GanttAxisX
GanttDiagram
GanttDiagram
GanttDrawOptions
.LinkOptions .Tag
GanttSeriesView
GanttSeriesView
.LinkOptions .Tag
Indicator
LineSeriesView
MassIndex
MedianPrice
MovingAverage
MovingAverageConvergenceDivergence
NumericScaleOptions
OverlappedGanttSeriesView
OverlappedGanttSeriesView
.LinkOptions .Tag
OverlappedRangeBarSeriesView
PercentageErrorBars
PiePointOptions
PiePointOptions
PointOptions
PointSeriesView
PointSeriesViewBase
PolarAxisX
PolarAxisX
PolarAxisX
PolarDiagram
PolygonFillStyle
.Options .Tag
PolygonFillStyle3D
.Options .Tag
RadarAxis
RadarAxis
RadarAxisX
RadarAxisX
RadarAxisX
RadarAxisXLabel
RadarAxisY
RadarAxisY
RadarAxisYLabel
RadarDiagram
RangeAreaPointOptions
RangeAreaSeriesView
RangeBarPointOptions
RangeBarSeriesView
RangePointOptions
RateOfChange
RectangleFillStyle
.Options .Tag
RectangleFillStyle3D
.Options .Tag
RegressionLine
RelativeStrengthIndex
ScatterLineSeriesView
ScrollBarOptions
SecondaryAxisX
SecondaryAxisX
SecondaryAxisX
SecondaryAxisX
SecondaryAxisX
SecondaryAxisY
SecondaryAxisY
SecondaryAxisY
SecondaryAxisY
SeparatePaneIndicator
Series
SeriesBase
SeriesTemplate
SeriesViewColorEachSupportBase
SideBySideBarSeriesView
SideBySideFullStackedBarSeriesView
SideBySideGanttSeriesView
SideBySideGanttSeriesView
.LinkOptions .Tag
SideBySideRangeBarSeriesView
SideBySideStackedBarSeriesView
SimpleDiagram
SimpleDiagram3D
SimpleMovingAverage
SimplePointOptions
SimplePointOptions
SingleLevelIndicator
SplineAreaSeriesView
SplineSeriesView
StackedAreaSeriesView
StackedBarSeriesView
StackedLineSeriesView
StackedSplineAreaSeriesView
StackedStepAreaSeriesView
StandardDeviation
StandardDeviationErrorBars
StandardErrorBars
StepAreaSeriesView
StepLineSeriesView
StockDrawOptions
StockPointOptions
StockSeriesView
StockSeriesView
SubsetBasedIndicator
SwiftPlotDiagram
SwiftPlotDiagramAxis
SwiftPlotDiagramAxis
SwiftPlotDiagramAxis
SwiftPlotDiagramAxisX
SwiftPlotDiagramAxisX
SwiftPlotDiagramAxisX
SwiftPlotDiagramAxisXBase
SwiftPlotDiagramAxisXBase
SwiftPlotDiagramAxisXBase
SwiftPlotDiagramAxisY
SwiftPlotDiagramAxisY
SwiftPlotDiagramAxisY
SwiftPlotDiagramAxisYBase
SwiftPlotDiagramAxisYBase
SwiftPlotDiagramAxisYBase
SwiftPlotDiagramSecondaryAxisX
SwiftPlotDiagramSecondaryAxisX
SwiftPlotDiagramSecondaryAxisX
SwiftPlotDiagramSecondaryAxisY
SwiftPlotDiagramSecondaryAxisY
SwiftPlotDiagramSecondaryAxisY
SwiftPlotSeriesView
SwiftPlotSeriesViewBase
TimeSpanScaleOptions
TrendLine
TriangularMovingAverage
TripleExponentialMovingAverageTema
TripleExponentialMovingAverageTrix
TypicalPrice
WaterfallSeriesView
WaterfallSeriesView
.ValueOptions .Tag
WeightedClose
WeightedMovingAverage
WilliamsR
XYDiagram
XYDiagram
XYDiagram2D
XYDiagram2DSeriesViewBase
XYDiagram3D
XYDiagramDefaultPane
XYDiagramPane
XYDiagramPaneBase
XYDiagramSeriesViewBase
WinForms Controls ChartControl
Reporting XRChart
ASP.NET MVC Extensions ChartControlSettings
MVCxChartControl
ASP.NET Web Forms Controls WebChartControl

Remarks

Any type derived from the Object class can be assigned to this property. Use it to store data associated with a particular chart element (e.g., an annotaton, an axis, an axis title, a diagram).

Note

If a chart is bound to data, the Tag property is automatically assigned to the underlying object used to create this chart element (e.g. to the corresponding DataRowView object, if a chart is bound to a DataTable).

Important

When the chart is serialized, only string Tag values are saved.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Tag property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also