skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class SparkDataPoint

Base class for all DataPoints. This class contains only properties related to the data.

Inheritance
System.Object
DataItemBase
SparkDataPoint
VisualDataPoint
Inherited Members
DataItemBase.RegisterObservableProperty(String, String)
DataItemBase.UnregisterObservableProperty(String, String)
DataItemBase.UpdatePropertyRegistration(String, String, String)
DataItemBase.GetValue(String)
DataItemBase.OnPropertyChanged(String)
DataItemBase.DataItem
DataItemBase.PropertyChanged
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.Nullable<System.Double>

The X value.

XValuePath

Gets the X value path.

Declaration
public string XValuePath { get; set; }
Property Value
System.String

The X value path.

YValue

Gets or sets the Y value.

Declaration
public Nullable<double> YValue { get; }
Property Value
System.Nullable<System.Double>

The Y value.

YValuePath

Gets the Y value path.

Declaration
public string YValuePath { get; set; }
Property Value
System.String

The Y value path.

Methods

CompareTo(Double)

Compares the current instance with another System.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.

Declaration
public int CompareTo(double other)
Parameters
System.Double other

A DateTime object to compare with this instance.

Returns
System.Int32

CompareTo(Int64)

Compares the current instance with another System.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.

Declaration
public int CompareTo(long other)
Parameters
System.Int64 other

A DateTime object to compare with this instance.

Returns
System.Int32

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.Object obj

An object to compare with this instance.

Returns
System.Int32

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
SparkDataPoint other

A PeriodSpan object to compare with this instance.

Returns
System.Int32

Equals(Object)

Determines whether the specified System.Object is equal to this instance.

Declaration
public override bool Equals(object obj)
Parameters
System.Object obj

The System.Object to compare with this instance.

Returns
System.Boolean

true if the specified System.Object is equal to this instance; otherwise, false.

GetHashCode()

Returns a hash code for this instance.

Declaration
public override int GetHashCode()
Returns
System.Int32

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.Object sender

The sender.

System.ComponentModel.PropertyChangedEventArgs args

The System.ComponentModel.PropertyChangedEventArgs instance containing the event data.

Overrides
DataItemBase.OnPropertyChanged(Object, PropertyChangedEventArgs)

Operators

Equality(SparkDataPoint, SparkDataPoint)

Implements the operator ==.

Declaration
public static bool operator ==(SparkDataPoint sparkDataPoint1, SparkDataPoint sparkDataPoint2)
Parameters
SparkDataPoint sparkDataPoint1

The spark data point1.

SparkDataPoint sparkDataPoint2

The spark data point2.

Returns
System.Boolean

The result of the operator.

GreaterThan(SparkDataPoint, SparkDataPoint)

Implements the operator >.

Declaration
public static bool operator>(SparkDataPoint sparkDataPoint1, SparkDataPoint sparkDataPoint2)
Parameters
SparkDataPoint sparkDataPoint1

The spark data point1.

SparkDataPoint sparkDataPoint2

The spark data point2.

Returns
System.Boolean

The result of the operator.

Inequality(SparkDataPoint, SparkDataPoint)

Implements the operator !=.

Declaration
public static bool operator !=(SparkDataPoint sparkDataPoint1, SparkDataPoint sparkDataPoint2)
Parameters
SparkDataPoint sparkDataPoint1

The spark data point1.

SparkDataPoint sparkDataPoint2

The spark data point2.

Returns
System.Boolean

The result of the operator.

LessThan(SparkDataPoint, SparkDataPoint)

Implements the operator <.

Declaration
public static bool operator <(SparkDataPoint sparkDataPoint1, SparkDataPoint sparkDataPoint2)
Parameters
SparkDataPoint sparkDataPoint1

The spark data point1.

SparkDataPoint sparkDataPoint2

The spark data point2.

Returns
System.Boolean

The result of the operator.

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.