SparkSeries
Base class for sparkline data series, including point-marker styles and the data-point collection.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public abstract class SparkSeries : UISparkElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISparkElementPresenter, IStylableElement, IStylableNode, IShapedElement
Inheritance: objectDisposableObjectRadObjectUISparkElementSparkSeries
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the SparkSeries class.
public SparkSeries()
Fields
Identifies the fill color used for the first data point.
public static RadProperty FirstPointBackColorProperty
Identifies the border color used for the first data point.
public static RadProperty FirstPointBorderColorProperty
Identifies the border width used for the first data point.
public static RadProperty FirstPointBorderWidthProperty
Identifies the fill color used for the highest data point.
public static RadProperty HighPointBackColorProperty
Identifies the border color used for the highest data point.
public static RadProperty HighPointBorderColorProperty
Identifies the border width used for the highest data point.
public static RadProperty HighPointBorderWidthProperty
Identifies the fill color used for the last data point.
public static RadProperty LastPointBackColorProperty
Identifies the border color used for the last data point.
public static RadProperty LastPointBorderColorProperty
Identifies the border width used for the last data point.
public static RadProperty LastPointBorderWidthProperty
Identifies the fill color used for the lowest data point.
public static RadProperty LowPointBackColorProperty
Identifies the border color used for the lowest data point.
public static RadProperty LowPointBorderColorProperty
Identifies the border width used for the lowest data point.
public static RadProperty LowPointBorderWidthProperty
Identifies the fill color used for ordinary data-point markers.
public static RadProperty MarkerBackColorProperty
Identifies the border color used for ordinary data-point markers.
public static RadProperty MarkerBorderColorProperty
Identifies the border width used for ordinary data-point markers.
public static RadProperty MarkerBorderWidthProperty
Identifies the fill color used for negative data points.
public static RadProperty NegativePointBackColorProperty
Identifies the border color used for negative data points.
public static RadProperty NegativePointBorderColorProperty
Identifies the border width used for negative data points.
public static RadProperty NegativePointBorderWidthProperty
Properties
Gets the axes.
[Browsable(false)]
public virtual SparkAxis[] Axes { get; }
The axes.
Gets the bounds of the series
[Browsable(false)]
public RectangleF Bounds { get; }
Gets or sets the name of the list or table in the data source for which the SparkSeries is bound.
[Browsable(true)]
public string DataMember { get; set; }
Gets the data points.
[Browsable(true)]
public SparkDataPointCollection DataPoints { get; }
The data points.
Gets or sets the data source of the SparkSeries.
public object DataSource { get; set; }
Gets or sets the display member.
[Browsable(true)]
public string DisplayMember { get; set; }
The display member.
Gets or sets the behavior used to paint the empty points.
public EmptyPointBehavior EmptyPointBehavior { get; set; }
Gets or sets the back color of the first point of the series.
public Color FirstPointBackColor { get; set; }
Gets or sets the border color of the first point of the series.
public Color FirstPointBorderColor { get; set; }
Gets or sets the border width of the first point of the series.
public float FirstPointBorderWidth { get; set; }
Gets or sets the back color of the high point of the series.
public Color HighPointBackColor { get; set; }
Gets or sets the border color of the high point of the series.
public Color HighPointBorderColor { get; set; }
Gets or sets the border width of the high point of the series.
public float HighPointBorderWidth { get; set; }
Gets or sets a value indicating whether this instance is visible.
public override bool IsVisible { get; set; }
Overrides:
Gets or sets the back color of the last point of the series.
public Color LastPointBackColor { get; set; }
Gets or sets the border color of the last point of the series.
public Color LastPointBorderColor { get; set; }
Gets or sets the border width of the last point of the series.
public float LastPointBorderWidth { get; set; }
Gets or sets the back color of the low point of the series.
public Color LowPointBackColor { get; set; }
Gets or sets the border color of the low point of the series.
public Color LowPointBorderColor { get; set; }
Gets or sets the border width of the low point of the series.
public float LowPointBorderWidth { get; set; }
Gets or sets the back color of the points of the series.
public Color MarkerBackColor { get; set; }
Gets or sets the border color of the points of the series.
public Color MarkerBorderColor { get; set; }
Gets or sets the border width of the points of the series.
public float MarkerBorderWidth { get; set; }
Gets the model.
[Browsable(false)]
public abstract SparkSeriesModel Model { get; }
The model.
Gets or sets the name.
[Browsable(true)]
public string Name { get; set; }
The name.
Gets or sets the back color of the negative points of the series.
public Color NegativePointBackColor { get; set; }
Gets or sets the border color of the negative points of the series.
public Color NegativePointBorderColor { get; set; }
Gets or sets the border width of the last point of the series.
public float NegativePointBorderWidth { get; set; }
Gets or sets whether the first point indicator will be painted.
public bool ShowFirstPointIndicator { get; set; }
Gets or sets whether the high point marker will be painted.
public bool ShowHighPointIndicator { get; set; }
Gets or sets whether the last point marker will be painted.
public bool ShowLastPointIndicator { get; set; }
Gets or sets whether the low point indicator will be painted.
public bool ShowLowPointIndicator { get; set; }
Gets or sets whether the negative point markers will be painted.
public bool ShowNegativePointIndicators { get; set; }
Gets the trackball format string.
protected virtual string TrackballFormatString { get; }
The trackball format string.
Methods
Applies the style settings.
protected override void ApplyStyleSettingsCore(PropertySettingGroup group)
The group.
Overrides:
Binds the members.
protected virtual void BindMembers()
Creates the data point.
Creates the point used when neither the series nor its view supplies a point through a create-point event.
protected abstract SparkDataPoint CreateDefaultDataPoint()
A default data point compatible with this series.
Creates the data-point collection used by this series.
protected abstract SparkDataPointCollection CreateModel()
The model collection that stores this series' data points.
Disposes managed resources.
protected override void DisposeManagedResources()
Overrides:
Ensures the visual state.
Called when [attached].
protected override void OnAttached(UISparkElement parent)
The parent.
Overrides:
Raises the event.
protected virtual void OnCreatePoint(SparklineCreatePointEventArgs e)
The SparklineCreatePointEventArgs instance containing the event data.
Called when [dettached].
protected override void OnDettached()
Overrides:
Synchronizes cached marker colors and widths with changes to the registered series properties.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The property change notification.
Overrides:
Refreshes the UISparkElement.
public override void Refresh()
Overrides:
Validates the point.
Events
Occurs when a new DataPoint is created.
public event SparklineCreatePointEventHandler CreatePoint