Show / Hide Table of Contents

Class DefinitionSeries.DataItem

Represents a single data value from a SeriesDefinition's ItemsSource.

Inheritance
System.Object
DefinitionSeries.DataItem
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls.DataVisualization.Charting
Assembly: OpenSilver.Controls.DataVisualization.Toolkit.dll
Syntax
protected class DataItem

Constructors

| Improve this Doc View Source

DataItem(SeriesDefinition)

Initializes a new instance of the DataItem class.

Declaration
public DataItem(SeriesDefinition seriesDefinition)
Parameters
Type Name Description
SeriesDefinition seriesDefinition

SeriesDefinition owner.

Properties

| Improve this Doc View Source

ActualDependentValue

Gets the ActualDependentValue of the DataPoint (or its equivalent).

Declaration
public IComparable ActualDependentValue { get; }
Property Value
Type Description
System.IComparable
| Improve this Doc View Source

ActualIndependentValue

Gets the ActualIndependentValue of the DataPoint (or its equivalent).

Declaration
public object ActualIndependentValue { get; }
Property Value
Type Description
System.Object
| Improve this Doc View Source

ActualStackedDependentValue

Gets or sets the ActualDependentValue of the DataPoint after adjusting for applicable stacking.

Declaration
public double ActualStackedDependentValue { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

CenterPoint

Gets or sets the center-point of the DataPoint in plot area coordinates (if relevant).

Declaration
public Point CenterPoint { get; set; }
Property Value
Type Description
Point
| Improve this Doc View Source

Container

Gets or sets the container for the DataPoint within its parent ItemsControl.

Declaration
public UIElement Container { get; set; }
Property Value
Type Description
UIElement
| Improve this Doc View Source

DataPoint

Gets or sets the DataPoint associated with the DataItem.

Declaration
public DataPoint DataPoint { get; set; }
Property Value
Type Description
DataPoint
| Improve this Doc View Source

Index

Gets or sets the index of the DataItem.

Declaration
public int Index { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

SeriesDefinition

Gets the SeriesDefinition owner of the DataItem.

Declaration
public SeriesDefinition SeriesDefinition { get; }
Property Value
Type Description
SeriesDefinition
| Improve this Doc View Source

Value

Gets or sets the value of the DataItem.

Declaration
public object Value { get; set; }
Property Value
Type Description
System.Object
  • Improve this Doc
  • View Source