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