Class DefinitionSeries.DataItem
Represents a single data value from a SeriesDefinition's ItemsSource.
Inheritance
System.Object
DefinitionSeries.DataItem
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Windows.Controls.DataVisualization.Charting
Assembly: Controls.DataVisualization.OpenSilver.dll
Syntax
protected class DataItem
Constructors
| Improve this Doc View SourceDataItem(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 SourceActualDependentValue
Gets the ActualDependentValue of the DataPoint (or its equivalent).
Declaration
public IComparable ActualDependentValue { get; }
Property Value
Type | Description |
---|---|
System.IComparable |
ActualIndependentValue
Gets the ActualIndependentValue of the DataPoint (or its equivalent).
Declaration
public object ActualIndependentValue { get; }
Property Value
Type | Description |
---|---|
System.Object |
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 |
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 |
Container
Gets or sets the container for the DataPoint within its parent ItemsControl.
Declaration
public UIElement Container { get; set; }
Property Value
Type | Description |
---|---|
UIElement |
DataPoint
Gets or sets the DataPoint associated with the DataItem.
Declaration
public DataPoint DataPoint { get; set; }
Property Value
Type | Description |
---|---|
DataPoint |
Index
Gets or sets the index of the DataItem.
Declaration
public int Index { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SeriesDefinition
Gets the SeriesDefinition owner of the DataItem.
Declaration
public SeriesDefinition SeriesDefinition { get; }
Property Value
Type | Description |
---|---|
SeriesDefinition |
Value
Gets or sets the value of the DataItem.
Declaration
public object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object |