Class DataPoint
Base class for all points that may be plotted by a ChartPlotAreaModel.
Inherited Members
Namespace: Telerik.Charting
Assembly: Telerik.WinControls.ChartView.dll
Syntax
public abstract class DataPoint : ChartNode, IDisposable, INotifyPropertyChanged
Constructors
DataPoint()
Properties
DataItem
Gets the object instance that represents the data associated with this point. Valid when the owning ChartSeries is data-bound.
Declaration
public object DataItem { get; }
Property Value
System.Object
|
IsInPlotRange
Gets a value indicating whether the data point may be plotted correctly.
Declaration
public virtual bool IsInPlotRange { get; }
Property Value
System.Boolean
|
IsSelected
Gets or sets a value indicating whether the data point is currently in a "Selected" state.
Declaration
public bool IsSelected { get; set; }
Property Value
System.Boolean
|
Label
Gets or sets the label associated with this point.
Declaration
public object Label { get; set; }
Property Value
System.Object
|
Methods
ContainsBoundValue(Int32)
Determines whether [contains bound value] [the specified index].
Declaration
protected bool ContainsBoundValue(int index)
Parameters
System.Int32
index
The index. |
Returns
System.Boolean
|
GetBoundValue<T>(Int32)
Gets the bound value.
Declaration
protected T GetBoundValue<T>(int index)
Parameters
System.Int32
index
The index. |
Returns
T
|
Type Parameters
T
The type of the T. |
InitBoundValues()
Inits the bound values.
Declaration
protected virtual void InitBoundValues()
SetBoundValue(Int32, Object)
Sets the bound value.
Declaration
protected void SetBoundValue(int index, object value)
Parameters
System.Int32
index
The index. |
System.Object
value
The value. |
SetDataItem(Object)
Sets the data item when data point is data bound.
Declaration
protected virtual void SetDataItem(object data)
Parameters
System.Object
data
|