ClassSparkDataPoint
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
SparkDataPoint()
Declaration
protected SparkDataPoint()
Properties
XValue
Gets or sets the X value.
XValuePath
Gets the X value path.
Declaration
public string XValuePath { get; set; }
Property Value
The X value path.
YValue
Gets or sets the Y value.
YValuePath
Gets the Y value path.
Declaration
public string YValuePath { get; set; }
Property Value
The Y value path.
Methods
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
other
A PeriodSpan object to compare with this instance.
Returns
Implements
CompareTo(double)
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.
CompareTo(long)
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.
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.
Equals(object)
Determines whether the specified object is equal to this instance.
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Overrides
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
sender
The sender.
args
The PropertyChangedEventArgs instance containing the event data.
Overrides
Operators
operator !=(SparkDataPoint, SparkDataPoint)
Implements the operator !=.
Declaration
public static bool operator !=(SparkDataPoint sparkDataPoint1, SparkDataPoint sparkDataPoint2)
Parameters
sparkDataPoint1
The spark data point1.
sparkDataPoint2
The spark data point2.
Returns
The result of the operator.
operator <(SparkDataPoint, SparkDataPoint)
Implements the operator <.
Declaration
public static bool operator <(SparkDataPoint sparkDataPoint1, SparkDataPoint sparkDataPoint2)
Parameters
sparkDataPoint1
The spark data point1.
sparkDataPoint2
The spark data point2.
Returns
The result of the operator.
operator ==(SparkDataPoint, SparkDataPoint)
Implements the operator ==.
Declaration
public static bool operator ==(SparkDataPoint sparkDataPoint1, SparkDataPoint sparkDataPoint2)
Parameters
sparkDataPoint1
The spark data point1.
sparkDataPoint2
The spark data point2.
Returns
The result of the operator.
operator >(SparkDataPoint, SparkDataPoint)
Implements the operator >.
Declaration
public static bool operator >(SparkDataPoint sparkDataPoint1, SparkDataPoint sparkDataPoint2)
Parameters
sparkDataPoint1
The spark data point1.
sparkDataPoint2
The spark data point2.
Returns
The result of the operator.