SparkDataPoint
Base class for all DataPoints. This class contains only properties related to the data.
Definition
Namespace:Telerik.Windows.Controls.Sparklines
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public abstract class SparkDataPoint : DataItemBase, INotifyPropertyChanged, IComparable, IComparable<double>, IComparable<long>, IComparable<SparkDataPoint>
Inheritance: objectDataItemBaseSparkDataPoint
Derived Classes:
Implements:
Inherited Members
Constructors
protected SparkDataPoint()
Properties
Gets or sets the X value.
public double? XValue { get; }
The X value.
Gets the X value path.
public string XValuePath { get; set; }
The X value path.
Gets or sets the Y value.
public double? YValue { get; }
The Y value.
Gets the Y value path.
public string YValuePath { get; set; }
The Y value path.
Methods
Compares the current instance with another DateTime 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.
Compares the current instance with another DateTime 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.
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.
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.
public int CompareTo(SparkDataPoint other)
A PeriodSpan object to compare with this instance.
Returns:Implements:
Returns a hash code for this instance.
public override int GetHashCode()
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Overrides:
Called when data range changed.
protected virtual void OnDataRangeChanged()
Called when data value changed.
protected virtual void OnDataValueChanged()
Called when a property changes.
protected override void OnPropertyChanged(object sender, PropertyChangedEventArgs args)
The sender.
argsPropertyChangedEventArgsThe PropertyChangedEventArgs instance containing the event data.
Overrides:
Operators
Implements the operator !=.
public static bool operator !=(SparkDataPoint sparkDataPoint1, SparkDataPoint sparkDataPoint2)
The spark data point1.
sparkDataPoint2SparkDataPointThe spark data point2.
Returns:The result of the operator.
Implements the operator <.
public static bool operator <(SparkDataPoint sparkDataPoint1, SparkDataPoint sparkDataPoint2)
The spark data point1.
sparkDataPoint2SparkDataPointThe spark data point2.
Returns:The result of the operator.
Implements the operator ==.
public static bool operator ==(SparkDataPoint sparkDataPoint1, SparkDataPoint sparkDataPoint2)
The spark data point1.
sparkDataPoint2SparkDataPointThe spark data point2.
Returns:The result of the operator.
Implements the operator >.
public static bool operator >(SparkDataPoint sparkDataPoint1, SparkDataPoint sparkDataPoint2)
The spark data point1.
sparkDataPoint2SparkDataPointThe spark data point2.
Returns:The result of the operator.