New to Telerik UI for WinFormsStart a free 30-day trial

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

Definition

Constructors

Initializes a new instance of the DataPoint class.

C#
protected DataPoint()

Properties

Gets the object instance that represents the data associated with this point. Valid when the owning ChartSeries is data-bound.

C#
[Browsable(false)]
public object DataItem { get; }

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

C#
[Browsable(false)]
public virtual bool IsInPlotRange { get; }

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

C#
[Browsable(false)]
public bool IsSelected { get; set; }

Gets or sets the label associated with this point.

C#
[TypeConverter(typeof(StringConverter))]
public object Label { get; set; }

Methods

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

C#
protected bool ContainsBoundValue(int index)
Parameters:indexint

The index.

Returns:

bool

Gets the bound value.

C#
protected T GetBoundValue<T>(int index)
Parameters:indexint

The index.

Returns:

T

Inits the bound values.

C#
protected virtual void InitBoundValues()

Sets the bound value.

C#
protected void SetBoundValue(int index, object value)
Parameters:indexint

The index.

valueobject

The value.

Sets the data item when data point is data bound.

C#
protected virtual void SetDataItem(object data)
Parameters:dataobject