Class
SparkSeries

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public abstract class SparkSeries : UISparkElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISparkElementPresenter, IStylableElement, IStylableNode, IShapedElement

Inheritance: objectDisposableObjectRadObjectUISparkElementSparkSeries

Derived Classes: SparkCartesianSeries

Implements: ICustomTypeDescriptorIDisposableINotifyPropertyChangedIShapedElementISparkElementPresenterIStylableElementIStylableNode

Inherited Members UISparkElement.IsVisiblePropertyUISparkElement.ClassPropertyUISparkElement.VisualStatePropertyUISparkElement.IsMouseDownPropertyUISparkElement.IsMouseOverPropertyUISparkElement.FontPropertyUISparkElement.CustomFontPropertyUISparkElement.CustomFontSizePropertyUISparkElement.CustomFontStylePropertyUISparkElement.ForeColorPropertyUISparkElement.BackColorPropertyUISparkElement.BorderWidthPropertyUISparkElement.BorderColorPropertyUISparkElement.BorderDashStylePropertyUISparkElement.ShapePropertyUISparkElement.SmoothingModePropertyUISparkElement.GetValue(RadProperty)UISparkElement.Attach(UISparkElement)UISparkElement.Dettach()UISparkElement.Invalidate()UISparkElement.MeasureContentOverride(SparkNode, object)UISparkElement.DpiScaleChanged(SizeF)UISparkElement.GetScaledFont(float)UISparkElement.GetCurrentShape()UISparkElement.GetThemeEffectiveType()UISparkElement.ApplyStyle()UISparkElement.BuildVisualState()UISparkElement.AddStylePropertySetting(IPropertySetting)UISparkElement.ApplyStyleByIndex(PropertySettingGroup, int)UISparkElement.ParentUISparkElement.LevelUISparkElement.ChildrenUISparkElement.IsMouseDownUISparkElement.IsMouseOverUISparkElement.ViewUISparkElement.ForeColorUISparkElement.FontUISparkElement.BackColorUISparkElement.BorderWidthUISparkElement.BorderColorUISparkElement.BorderDashStyleUISparkElement.ShapeUISparkElement.SmoothingModeUISparkElement.IsAttachedUISparkElement.DpiScaleFactorUISparkElement.ClassUISparkElement.VisualStateUISparkElement.ThemeRoleUISparkElement.ChildrenHierarchyUISparkElement.StyleUISparkElement.StateManagerUISparkElement.FallbackToDefaultThemeRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.SetValueCore(RadPropertyValue, object, object, ValueSource)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.CanRaisePropertyChangeNotifications(RadPropertyValue)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.GetInheritedValue(RadProperty)RadObject.OnPropertyChanging(RadPropertyChangingEventArgs)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.IsPropertyCancelable(RadPropertyMetadata)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.PerformDispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing

Constructors

SparkSeries()

Initializes a new instance of the SparkSeries class.

Declaration

cs-api-definition
public SparkSeries()

Fields

FirstPointBackColorProperty

Declaration

cs-api-definition
public static RadProperty FirstPointBackColorProperty

Field Value

RadProperty

FirstPointBorderColorProperty

Declaration

cs-api-definition
public static RadProperty FirstPointBorderColorProperty

Field Value

RadProperty

FirstPointBorderWidthProperty

Declaration

cs-api-definition
public static RadProperty FirstPointBorderWidthProperty

Field Value

RadProperty

HighPointBackColorProperty

Declaration

cs-api-definition
public static RadProperty HighPointBackColorProperty

Field Value

RadProperty

HighPointBorderColorProperty

Declaration

cs-api-definition
public static RadProperty HighPointBorderColorProperty

Field Value

RadProperty

HighPointBorderWidthProperty

Declaration

cs-api-definition
public static RadProperty HighPointBorderWidthProperty

Field Value

RadProperty

LastPointBackColorProperty

Declaration

cs-api-definition
public static RadProperty LastPointBackColorProperty

Field Value

RadProperty

LastPointBorderColorProperty

Declaration

cs-api-definition
public static RadProperty LastPointBorderColorProperty

Field Value

RadProperty

LastPointBorderWidthProperty

Declaration

cs-api-definition
public static RadProperty LastPointBorderWidthProperty

Field Value

RadProperty

LowPointBackColorProperty

Declaration

cs-api-definition
public static RadProperty LowPointBackColorProperty

Field Value

RadProperty

LowPointBorderColorProperty

Declaration

cs-api-definition
public static RadProperty LowPointBorderColorProperty

Field Value

RadProperty

LowPointBorderWidthProperty

Declaration

cs-api-definition
public static RadProperty LowPointBorderWidthProperty

Field Value

RadProperty

MarkerBackColorProperty

Declaration

cs-api-definition
public static RadProperty MarkerBackColorProperty

Field Value

RadProperty

MarkerBorderColorProperty

Declaration

cs-api-definition
public static RadProperty MarkerBorderColorProperty

Field Value

RadProperty

MarkerBorderWidthProperty

Declaration

cs-api-definition
public static RadProperty MarkerBorderWidthProperty

Field Value

RadProperty

NegativePointBackColorProperty

Declaration

cs-api-definition
public static RadProperty NegativePointBackColorProperty

Field Value

RadProperty

NegativePointBorderColorProperty

Declaration

cs-api-definition
public static RadProperty NegativePointBorderColorProperty

Field Value

RadProperty

NegativePointBorderWidthProperty

Declaration

cs-api-definition
public static RadProperty NegativePointBorderWidthProperty

Field Value

RadProperty

Properties

Axes

Gets the axes.

Declaration

cs-api-definition
[Browsable(false)]
public virtual SparkAxis[] Axes { get; }

Property Value

SparkAxis[]

The axes.

Bounds

Gets the bounds of the series

Declaration

cs-api-definition
[Browsable(false)]
public RectangleF Bounds { get; }

Property Value

RectangleF

DataMember

Gets or sets the name of the list or table in the data source for which the SparkSeries is bound.

Declaration

cs-api-definition
[Browsable(true)]
public string DataMember { get; set; }

Property Value

string

DataPoints

Gets the data points.

Declaration

cs-api-definition
[Browsable(true)]
public SparkDataPointCollection DataPoints { get; }

Property Value

SparkDataPointCollection

The data points.

DataSource

Gets or sets the data source of the SparkSeries.

Declaration

cs-api-definition
public object DataSource { get; set; }

Property Value

object

DisplayMember

Gets or sets the display member.

Declaration

cs-api-definition
[Browsable(true)]
public string DisplayMember { get; set; }

Property Value

string

The display member.

EmptyPointBehavior

Gets or sets the behavior used to paint the empty points.

Declaration

cs-api-definition
public EmptyPointBehavior EmptyPointBehavior { get; set; }

Property Value

EmptyPointBehavior

Family

Declaration

cs-api-definition
[Browsable(false)]
public virtual string Family { get; }

Property Value

string

FirstPointBackColor

Gets or sets the back color of the first point of the series.

Declaration

cs-api-definition
public Color FirstPointBackColor { get; set; }

Property Value

Color

FirstPointBorderColor

Gets or sets the border color of the first point of the series.

Declaration

cs-api-definition
public Color FirstPointBorderColor { get; set; }

Property Value

Color

FirstPointBorderWidth

Gets or sets the border width of the first point of the series.

Declaration

cs-api-definition
public float FirstPointBorderWidth { get; set; }

Property Value

float

HighPointBackColor

Gets or sets the back color of the high point of the series.

Declaration

cs-api-definition
public Color HighPointBackColor { get; set; }

Property Value

Color

HighPointBorderColor

Gets or sets the border color of the high point of the series.

Declaration

cs-api-definition
public Color HighPointBorderColor { get; set; }

Property Value

Color

HighPointBorderWidth

Gets or sets the border width of the high point of the series.

Declaration

cs-api-definition
public float HighPointBorderWidth { get; set; }

Property Value

float

HighValue

Gets the high value data point.

Declaration

cs-api-definition
public virtual double? HighValue { get; }

Property Value

double?

IsVisible

Gets or sets a value indicating whether this instance is visible.

Declaration

cs-api-definition
public override bool IsVisible { get; set; }

Property Value

bool

Overrides UISparkElement.IsVisible

LastPointBackColor

Gets or sets the back color of the last point of the series.

Declaration

cs-api-definition
public Color LastPointBackColor { get; set; }

Property Value

Color

LastPointBorderColor

Gets or sets the border color of the last point of the series.

Declaration

cs-api-definition
public Color LastPointBorderColor { get; set; }

Property Value

Color

LastPointBorderWidth

Gets or sets the border width of the last point of the series.

Declaration

cs-api-definition
public float LastPointBorderWidth { get; set; }

Property Value

float

LowPointBackColor

Gets or sets the back color of the low point of the series.

Declaration

cs-api-definition
public Color LowPointBackColor { get; set; }

Property Value

Color

LowPointBorderColor

Gets or sets the border color of the low point of the series.

Declaration

cs-api-definition
public Color LowPointBorderColor { get; set; }

Property Value

Color

LowPointBorderWidth

Gets or sets the border width of the low point of the series.

Declaration

cs-api-definition
public float LowPointBorderWidth { get; set; }

Property Value

float

LowValue

Gets the low value data point.

Declaration

cs-api-definition
public virtual double? LowValue { get; }

Property Value

double?

MarkerBackColor

Gets or sets the back color of the points of the series.

Declaration

cs-api-definition
public Color MarkerBackColor { get; set; }

Property Value

Color

MarkerBorderColor

Gets or sets the border color of the points of the series.

Declaration

cs-api-definition
public Color MarkerBorderColor { get; set; }

Property Value

Color

MarkerBorderWidth

Gets or sets the border width of the points of the series.

Declaration

cs-api-definition
public float MarkerBorderWidth { get; set; }

Property Value

float

Model

Gets the model.

Declaration

cs-api-definition
[Browsable(false)]
public abstract SparkSeriesModel Model { get; }

Property Value

SparkSeriesModel

The model.

Name

Gets or sets the name.

Declaration

cs-api-definition
[Browsable(true)]
public string Name { get; set; }

Property Value

string

The name.

NegativePointBackColor

Gets or sets the back color of the negative points of the series.

Declaration

cs-api-definition
public Color NegativePointBackColor { get; set; }

Property Value

Color

NegativePointBorderColor

Gets or sets the border color of the negative points of the series.

Declaration

cs-api-definition
public Color NegativePointBorderColor { get; set; }

Property Value

Color

NegativePointBorderWidth

Gets or sets the border width of the last point of the series.

Declaration

cs-api-definition
public float NegativePointBorderWidth { get; set; }

Property Value

float

ShowFirstPointIndicator

Gets or sets whether the first point indicator will be painted.

Declaration

cs-api-definition
public bool ShowFirstPointIndicator { get; set; }

Property Value

bool

ShowHighPointIndicator

Gets or sets whether the high point marker will be painted.

Declaration

cs-api-definition
public bool ShowHighPointIndicator { get; set; }

Property Value

bool

ShowLastPointIndicator

Gets or sets whether the last point marker will be painted.

Declaration

cs-api-definition
public bool ShowLastPointIndicator { get; set; }

Property Value

bool

ShowLowPointIndicator

Gets or sets whether the low point indicator will be painted.

Declaration

cs-api-definition
public bool ShowLowPointIndicator { get; set; }

Property Value

bool

ShowNegativePointIndicators

Gets or sets whether the negative point markers will be painted.

Declaration

cs-api-definition
public bool ShowNegativePointIndicators { get; set; }

Property Value

bool

TrackballFormatString

Gets the trackball format string.

Declaration

cs-api-definition
protected virtual string TrackballFormatString { get; }

Property Value

string

The trackball format string.

Methods

ApplyStyleSettingsCore(PropertySettingGroup)

Applies the style settings.

Declaration

cs-api-definition
protected override void ApplyStyleSettingsCore(PropertySettingGroup group)

Parameters

group

PropertySettingGroup

The group.

Overrides UISparkElement.ApplyStyleSettingsCore(PropertySettingGroup)

BindMembers()

Binds the members.

Declaration

cs-api-definition
protected virtual void BindMembers()

CreateDataPoint()

Creates the data point.

Declaration

cs-api-definition
protected SparkDataPoint CreateDataPoint()

Returns

SparkDataPoint

CreateDefaultDataPoint()

Declaration

cs-api-definition
protected abstract SparkDataPoint CreateDefaultDataPoint()

Returns

SparkDataPoint

CreateModel()

Declaration

cs-api-definition
protected abstract SparkDataPointCollection CreateModel()

Returns

SparkDataPointCollection

DisposeManagedResources()

Disposes managed resources.

Declaration

cs-api-definition
protected override void DisposeManagedResources()

Overrides RadObject.DisposeManagedResources()

EnsureVisualState(SparkArea)

Ensures the visual state.

Declaration

cs-api-definition
protected virtual void EnsureVisualState(SparkArea area)

Parameters

area

SparkArea

The area.

HitTest(int, int)

Returns the DataPoint that hits the x,y coordinates.

Declaration

cs-api-definition
public SparkDataPoint HitTest(int x, int y)

Parameters

x

int

The x.

y

int

The y.

Returns

SparkDataPoint

OnAttached(UISparkElement)

Called when [attached].

Declaration

cs-api-definition
protected override void OnAttached(UISparkElement parent)

Parameters

parent

UISparkElement

The parent.

Overrides UISparkElement.OnAttached(UISparkElement)

OnCreatePoint(SparklineCreatePointEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnCreatePoint(SparklineCreatePointEventArgs e)

Parameters

e

SparklineCreatePointEventArgs

The SparklineCreatePointEventArgs instance containing the event data.

OnDettached()

Called when [dettached].

Declaration

cs-api-definition
protected override void OnDettached()

Overrides UISparkElement.OnDettached()

OnPropertyChanged(RadPropertyChangedEventArgs)

Raises the RadPropertyChanged event and the standard .NET PropertyChanged event to notify subscribers of property value changes.

Declaration

cs-api-definition
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)

Parameters

e

RadPropertyChangedEventArgs

The RadPropertyChangedEventArgs containing information about the property change.

Overrides UISparkElement.OnPropertyChanged(RadPropertyChangedEventArgs)

Refresh()

Refreshes the UISparkElement.

Declaration

cs-api-definition
public override void Refresh()

Overrides UISparkElement.Refresh()

ValidatePoint(SparkDataPoint)

Validates the point.

Declaration

cs-api-definition
protected virtual void ValidatePoint(SparkDataPoint item)

Parameters

item

SparkDataPoint

The item.

Events

CreatePoint

Occurs when a new DataPoint is created.

Declaration

cs-api-definition
public event SparklineCreatePointEventHandler CreatePoint

Event Value

SparklineCreatePointEventHandler

In this article
DefinitionConstructorsSparkSeries()FieldsFirstPointBackColorPropertyFirstPointBorderColorPropertyFirstPointBorderWidthPropertyHighPointBackColorPropertyHighPointBorderColorPropertyHighPointBorderWidthPropertyLastPointBackColorPropertyLastPointBorderColorPropertyLastPointBorderWidthPropertyLowPointBackColorPropertyLowPointBorderColorPropertyLowPointBorderWidthPropertyMarkerBackColorPropertyMarkerBorderColorPropertyMarkerBorderWidthPropertyNegativePointBackColorPropertyNegativePointBorderColorPropertyNegativePointBorderWidthPropertyPropertiesAxesBoundsDataMemberDataPointsDataSourceDisplayMemberEmptyPointBehaviorFamilyFirstPointBackColorFirstPointBorderColorFirstPointBorderWidthHighPointBackColorHighPointBorderColorHighPointBorderWidthHighValueIsVisibleLastPointBackColorLastPointBorderColorLastPointBorderWidthLowPointBackColorLowPointBorderColorLowPointBorderWidthLowValueMarkerBackColorMarkerBorderColorMarkerBorderWidthModelNameNegativePointBackColorNegativePointBorderColorNegativePointBorderWidthShowFirstPointIndicatorShowHighPointIndicatorShowLastPointIndicatorShowLowPointIndicatorShowNegativePointIndicatorsTrackballFormatStringMethodsApplyStyleSettingsCore(PropertySettingGroup)BindMembers()CreateDataPoint()CreateDefaultDataPoint()CreateModel()DisposeManagedResources()EnsureVisualState(SparkArea)HitTest(int, int)OnAttached(UISparkElement)OnCreatePoint(SparklineCreatePointEventArgs)OnDettached()OnPropertyChanged(RadPropertyChangedEventArgs)Refresh()ValidatePoint(SparkDataPoint)EventsCreatePoint
Not finding the help you need?
Contact Support