Class SparkDataPoint
Base class for all DataPoints. This class contains only properties related to the data.
Inherited Members
Namespace: Telerik.Windows.Controls.Sparklines
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public abstract class SparkDataPoint : DataItemBase, IDataItemContainer, INotifyPropertyChanged, IComparable, IComparable<double>, IComparable<long>, IComparable<SparkDataPoint>
Constructors
SparkDataPoint()
Declaration
protected SparkDataPoint()
Properties
XValue
Gets or sets the X value.
Declaration
public Nullable<double> XValue { get; }
Property Value
System. The X value. |
XValuePath
Gets the X value path.
Declaration
public string XValuePath { get; set; }
Property Value
System. The X value path. |
YValue
Gets or sets the Y value.
Declaration
public Nullable<double> YValue { get; }
Property Value
System. The Y value. |
YValuePath
Gets the Y value path.
Declaration
public string YValuePath { get; set; }
Property Value
System. The Y value path. |
Methods
CompareTo(Double)
Compares the current instance with another System.
Declaration
public int CompareTo(double other)
Parameters
System. A DateTime object to compare with this instance. |
Returns
System.
|
CompareTo(Int64)
Compares the current instance with another System.
Declaration
public int CompareTo(long other)
Parameters
System. A DateTime object to compare with this instance. |
Returns
System.
|
CompareTo(Object)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Declaration
public int CompareTo(object obj)
Parameters
System. An object to compare with this instance. |
Returns
System.
|
CompareTo(SparkDataPoint)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Declaration
public int CompareTo(SparkDataPoint other)
Parameters
Spark A PeriodSpan object to compare with this instance. |
Returns
System.
|
Equals(Object)
Determines whether the specified System.
Declaration
public override bool Equals(object obj)
Parameters
System. The System. |
Returns
System.
|
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
System. A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
OnDataRangeChanged()
Called when data range changed.
Declaration
protected virtual void OnDataRangeChanged()
OnDataValueChanged()
Called when data value changed.
Declaration
protected virtual void OnDataValueChanged()
OnPropertyChanged(Object, PropertyChangedEventArgs)
Called when a property changes.
Declaration
protected override void OnPropertyChanged(object sender, PropertyChangedEventArgs args)
Parameters
System. The sender. |
System. The System. |
Overrides
Operators
Equality(SparkDataPoint, SparkDataPoint)
Implements the operator ==.
Declaration
public static bool operator ==(SparkDataPoint sparkDataPoint1, SparkDataPoint sparkDataPoint2)
Parameters
Spark The spark data point1. |
Spark The spark data point2. |
Returns
System. The result of the operator. |
GreaterThan(SparkDataPoint, SparkDataPoint)
Implements the operator >.
Declaration
public static bool operator>(SparkDataPoint sparkDataPoint1, SparkDataPoint sparkDataPoint2)
Parameters
Spark The spark data point1. |
Spark The spark data point2. |
Returns
System. The result of the operator. |
Inequality(SparkDataPoint, SparkDataPoint)
Implements the operator !=.
Declaration
public static bool operator !=(SparkDataPoint sparkDataPoint1, SparkDataPoint sparkDataPoint2)
Parameters
Spark The spark data point1. |
Spark The spark data point2. |
Returns
System. The result of the operator. |
LessThan(SparkDataPoint, SparkDataPoint)
Implements the operator <.
Declaration
public static bool operator <(SparkDataPoint sparkDataPoint1, SparkDataPoint sparkDataPoint2)
Parameters
Spark The spark data point1. |
Spark The spark data point2. |
Returns
System. The result of the operator. |