Class DataPoint
This class represents a single piece of data that is visualized in a chart series.
Inherited Members
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class DataPoint : BaseFormattableData, INotifyPropertyChanged, IFormattableData, ILogicalItem, IWeakEventListener<PropertyChangedEventArgs>
Remarks
Each chart series consists of a related group of data points.
Constructors
DataPoint()
DataPoint(DateTime)
Initializes a new instance of the DataPoint class.
Declaration
public DataPoint(DateTime valueX)
Parameters
System.DateTime
valueX
The DateTime value to be shown on the X axis. |
DataPoint(Double)
Initializes a new instance of the DataPoint class.
Declaration
public DataPoint(double valueY)
Parameters
System.Double
valueY
The YValue to be shown on the Y axis. |
DataPoint(Double, Double)
Initializes a new instance of the DataPoint class.
Declaration
public DataPoint(double valueX, double valueY)
Parameters
System.Double
valueX
The value set to the XValue property. |
System.Double
valueY
The value set to the YValue property. |
DataPoint(String, Double)
Initializes a new instance of the DataPoint class.
Declaration
public DataPoint(string categoryX, double valueY)
Parameters
System.String
categoryX
The category X. |
System.Double
valueY
The value Y. |
Properties
BubbleSize
Gets or sets a value indicating the size associated with a bubble representation of a data point.
Declaration
public double BubbleSize { get; set; }
Property Value
System.Double
|
Close
Gets or sets the closing stock value for financial charts.
Declaration
public double Close { get; set; }
Property Value
System.Double
|
DataItem
Gets or sets the original data item.
Declaration
public object DataItem { get; set; }
Property Value
System.Object
|
Remarks
This is only relevant for databinding scenarios.
DataSeries
Gets the DataSeries to which the current DataPoint belongs.
Declaration
public DataSeries DataSeries { get; }
Property Value
DataSeries
|
High
Gets or sets the highest stock value for financial charts.
Declaration
public double High { get; set; }
Property Value
System.Double
|
IsEmpty
Gets or sets a boolean value, indicating whether the data point should be considered empty.DataPoint.
Declaration
public bool IsEmpty { get; set; }
Property Value
System.Boolean
|
LabelFormat
Gets the label formatting string to be displayed.
Declaration
public override string LabelFormat { get; set; }
Property Value
System.String
The label format. |
Overrides
LegendItemLabelFormat
Gets or sets the legend item label format.
Declaration
public string LegendItemLabelFormat { get; set; }
Property Value
System.String
The legend item label format. |
LegendLabel
Gets or sets the string representation of this object in the ChartLegend.
Declaration
public string LegendLabel { get; set; }
Property Value
System.String
|
Low
Gets or sets the lowest stock value for financial charts.
Declaration
public double Low { get; set; }
Property Value
System.Double
|
Open
Gets or sets the opening stock value for financial charts.
Declaration
public double Open { get; set; }
Property Value
System.Double
|
Tooltip
Gets or sets the tooltip for the associated DataPoint.
Declaration
public string Tooltip { get; set; }
Property Value
System.String
|
XCategory
Gets or sets a value indicating the category of the data point relative to the horizontal axis.
Declaration
public string XCategory { get; set; }
Property Value
System.String
|
XValue
Gets or sets a value indicating the value of the data point relative to the horizontal axis.
Declaration
public double XValue { get; set; }
Property Value
System.Double
|
YValue
Gets or sets a value indicating the value of the data point relative to the vertical axis.
Declaration
public double YValue { get; set; }
Property Value
System.Double
|
Methods
ReceiveWeakEvent(Object, PropertyChangedEventArgs)
Receives the weak event for PropertyChanged from DataItem.
Declaration
public void ReceiveWeakEvent(object sender, PropertyChangedEventArgs args)
Parameters
System.Object
sender
DataItem bound to this DataPoint. |
System.ComponentModel.PropertyChangedEventArgs
args
The System.ComponentModel.PropertyChangedEventArgs instance containing the event data. |