Class
DataPoint

Base class for all points that may be plotted by a ChartPlotAreaModel.

Definition

Namespace:Telerik.Charting

Assembly:Telerik.WinControls.ChartView.dll

Syntax:

cs-api-definition
public abstract class DataPoint : ChartNode, IDisposable, INotifyPropertyChanged

Inheritance: objectDisposableObjectPropertyBagObjectChartNodeDataPoint

Derived Classes: CategoricalDataPointBasePolarDataPointScatterDataPointSingleValueDataPoint

Implements: IDisposableINotifyPropertyChanged

Inherited Members ChartNode.Arrange(RadRect, bool)ChartNode.Invalidate()ChartNode.SetValueCore(int, object)ChartNode.ClearValueCore(int)ChartNode.IsArrangeValidChartNode.NodeStateChartNode.IndexChartNode.CollectionIndexChartNode.IsTreeLoadedChartNode.LayoutSlotChartNode.ParentChartNode.PresenterChartNode.PropertyChangedPropertyBagObject.IsLocalValue(int)PropertyBagObject.GetValue(int)PropertyBagObject.SetValue(int, object)PropertyBagObject.ClearValue(int)PropertyBagObject.GetTypedValue<T>(int, T)PropertyBagObject.DisposeManagedResources()PropertyBagObject.PropertyStoreDisposableObject.Dispose()DisposableObject.DisposeUnmanagedResources()DisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.EventsDisposableObject.DisposingDisposableObject.Disposed

Constructors

DataPoint()

Initializes a new instance of the DataPoint class.

Declaration

cs-api-definition
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

cs-api-definition
[Browsable(false)]
public object DataItem { get; }

Property Value

object

IsInPlotRange

Gets a value indicating whether the data point may be plotted correctly.

Declaration

cs-api-definition
[Browsable(false)]
public virtual bool IsInPlotRange { get; }

Property Value

bool

IsSelected

Gets or sets a value indicating whether the data point is currently in a "Selected" state.

Declaration

cs-api-definition
[Browsable(false)]
public bool IsSelected { get; set; }

Property Value

bool

Label

Gets or sets the label associated with this point.

Declaration

cs-api-definition
[TypeConverter(typeof(StringConverter))]
public object Label { get; set; }

Property Value

object

Methods

ContainsBoundValue(int)

Determines whether [contains bound value] [the specified index].

Declaration

cs-api-definition
protected bool ContainsBoundValue(int index)

Parameters

index

int

The index.

Returns

bool

GetBoundValue<T>(int)

Gets the bound value.

Declaration

cs-api-definition
protected T GetBoundValue<T>(int index)

Parameters

index

int

The index.

Returns

T

InitBoundValues()

Inits the bound values.

Declaration

cs-api-definition
protected virtual void InitBoundValues()

SetBoundValue(int, object)

Sets the bound value.

Declaration

cs-api-definition
protected void SetBoundValue(int index, object value)

Parameters

index

int

The index.

value

object

The value.

SetDataItem(object)

Sets the data item when data point is data bound.

Declaration

cs-api-definition
protected virtual void SetDataItem(object data)

Parameters

data

object