Class
ChartDataContext

An object of this type is used as a data context for chart's behaviors. For example the tool tip behavior can use a chart data context to populate its tool tip template with data.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
public class ChartDataContext

Inheritance: objectChartDataContext

Properties

ClosestDataPoint

Gets an object that contains the closest data point to the tap location and the series object to which the data point belongs.

Declaration

cs-api-definition
public DataPointInfo ClosestDataPoint { get; }

Property Value

DataPointInfo

DataPointInfos

Gets a list of data point info objects each of which contains the closest data point to the tap location and the point's corresponding series.

Declaration

cs-api-definition
public List<DataPointInfo> DataPointInfos { get; }

Property Value

List<DataPointInfo>

TouchLocation

Gets the physical point (in coordinates, relative to the chart surface) this context is associated with.

Declaration

cs-api-definition
public Point TouchLocation { get; }

Property Value

Point