Class
RadLinearSparkline

Sparkline that displays a set of data points connected by a line. Supports indicators and normal range.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Data Visualization")]
public class RadLinearSparkline : RadLinearSparklineBase

Inheritance: objectRadSparklineBaseRadIndicatedSparklineBaseRadLinearSparklineBaseRadLinearSparkline

Inherited Members RadLinearSparklineBase.LinePointsPropertyRadLinearSparklineBase.IndicatorsPointsPropertyRadLinearSparklineBase.IndicatorsVisibilityPropertyRadLinearSparklineBase.MarkersBrushPropertyRadLinearSparklineBase.MarkersStylePropertyRadLinearSparklineBase.ShowMarkersPropertyRadLinearSparklineBase.IndicatorStylePropertyRadLinearSparklineBase.CalculateBaseLinePoints()RadLinearSparklineBase.OnVisibleDataChanged()RadLinearSparklineBase.OnEmptyPointBehaviorChanged()RadLinearSparklineBase.OnRangeChanged()RadLinearSparklineBase.SynchronizeIndicatorsData()RadLinearSparklineBase.SynchronizePoints()RadLinearSparklineBase.UpdateLineVisibility()RadLinearSparklineBase.IndicatorStyleRadLinearSparklineBase.MarkersBrushRadLinearSparklineBase.MarkersStyleRadLinearSparklineBase.ShowMarkersRadLinearSparklineBase.LinePointsRadLinearSparklineBase.IndicatorsPointsRadLinearSparklineBase.IndicatorsVisibilityRadIndicatedSparklineBase.FirstPointBrushPropertyRadIndicatedSparklineBase.FirstPointStylePropertyRadIndicatedSparklineBase.LastPointBrushPropertyRadIndicatedSparklineBase.LastPointStylePropertyRadIndicatedSparklineBase.HighPointBrushPropertyRadIndicatedSparklineBase.HighPointStylePropertyRadIndicatedSparklineBase.LowPointBrushPropertyRadIndicatedSparklineBase.LowPointStylePropertyRadIndicatedSparklineBase.NegativePointBrushPropertyRadIndicatedSparklineBase.NegativePointStylePropertyRadIndicatedSparklineBase.ShowFirstPointIndicatorPropertyRadIndicatedSparklineBase.ShowHighPointIndicatorsPropertyRadIndicatedSparklineBase.ShowLastPointIndicatorPropertyRadIndicatedSparklineBase.ShowLowPointIndicatorsPropertyRadIndicatedSparklineBase.ShowNegativePointIndicatorsPropertyRadIndicatedSparklineBase.OnApplyTemplate()RadIndicatedSparklineBase.OnIndicatorPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)RadIndicatedSparklineBase.IsVirtualizationEnabledChanged()RadIndicatedSparklineBase.UpdateItemsPanels()RadIndicatedSparklineBase.SynchronizeIndicatorsVisuals()RadIndicatedSparklineBase.FirstPointBrushRadIndicatedSparklineBase.FirstPointStyleRadIndicatedSparklineBase.LastPointBrushRadIndicatedSparklineBase.LastPointStyleRadIndicatedSparklineBase.HighPointBrushRadIndicatedSparklineBase.HighPointStyleRadIndicatedSparklineBase.LowPointBrushRadIndicatedSparklineBase.LowPointStyleRadIndicatedSparklineBase.NegativePointBrushRadIndicatedSparklineBase.NegativePointStyleRadIndicatedSparklineBase.ShowFirstPointIndicatorRadIndicatedSparklineBase.ShowHighPointIndicatorsRadIndicatedSparklineBase.ShowLastPointIndicatorRadIndicatedSparklineBase.ShowLowPointIndicatorsRadIndicatedSparklineBase.ShowNegativePointIndicatorsRadSparklineBase.YValuePathPropertyRadSparklineBase.XValuePathPropertyRadSparklineBase.AutoRangePropertyRadSparklineBase.AxisVisibilityPropertyRadSparklineBase.AxisStrokePropertyRadSparklineBase.ItemsSourcePropertyRadSparklineBase.MaxYValuePropertyRadSparklineBase.MinYValuePropertyRadSparklineBase.MinXValuePropertyRadSparklineBase.MaxXValuePropertyRadSparklineBase.EmptyPointBehaviorPropertyRadSparklineBase.ShowAxisPropertyRadSparklineBase.ZeroYPositionPropertyRadSparklineBase.AxisOriginValuePropertyRadSparklineBase.AxisWidthPropertyRadSparklineBase.OnCreateAutomationPeer()RadSparklineBase.CalculateYPosition()RadSparklineBase.MeasureOverride(Size)RadSparklineBase.AutoRangeRadSparklineBase.AxisOriginValueRadSparklineBase.AxisWidthRadSparklineBase.AxisStrokeRadSparklineBase.EmptyPointBehaviorRadSparklineBase.ItemsSourceRadSparklineBase.MaxYValueRadSparklineBase.MinYValueRadSparklineBase.MinXValueRadSparklineBase.MaxXValueRadSparklineBase.ShowAxisRadSparklineBase.XValuePathRadSparklineBase.YValuePathRadSparklineBase.ZeroYPositionRadSparklineBase.AxisVisibilityRadSparklineBase.VisualDataPoints

Constructors

RadLinearSparkline()

Initializes a new instance of the RadLinearSparkline class.

Declaration

cs-api-definition
public RadLinearSparkline()

Fields

LineShapeStyleProperty

Identifies the LineShapeStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty LineShapeStyleProperty

Field Value

DependencyProperty

LineShapeVisibilityProperty

Identifies the LineShapeVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty LineShapeVisibilityProperty

Field Value

DependencyProperty

LineStrokeProperty

Identifies the LineStroke dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty LineStrokeProperty

Field Value

DependencyProperty

NormalRangeBottomProperty

Identifies the NormalRangeBottom dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty NormalRangeBottomProperty

Field Value

DependencyProperty

NormalRangeFillProperty

Identifies the NormalRangeFill dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty NormalRangeFillProperty

Field Value

DependencyProperty

NormalRangeRectProperty

Identifies the NormalRangeRect dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty NormalRangeRectProperty

Field Value

DependencyProperty

NormalRangeTopProperty

Identifies the NormalRangeTop dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty NormalRangeTopProperty

Field Value

DependencyProperty

NormalRangeVisibilityProperty

Identifies the NormalRangeVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty NormalRangeVisibilityProperty

Field Value

DependencyProperty

ShowNormalRangeProperty

Identifies the ShowNormalRange dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ShowNormalRangeProperty

Field Value

DependencyProperty

Properties

LineShapeStyle

Gets or sets the LineShapeStyle.

Declaration

cs-api-definition
public Style LineShapeStyle { get; set; }

Property Value

Style

LineStroke

Gets or sets the line stroke.

Declaration

cs-api-definition
public Brush LineStroke { get; set; }

Property Value

Brush

The line stroke.

NormalRangeBottom

Gets or sets the normal range bottom.

Declaration

cs-api-definition
public double NormalRangeBottom { get; set; }

Property Value

double

The normal range bottom.

NormalRangeFill

Gets or sets the normal range brush.

Declaration

cs-api-definition
public Brush NormalRangeFill { get; set; }

Property Value

Brush

The normal range brush.

NormalRangeTop

Gets or sets the normal range top.

Declaration

cs-api-definition
public double NormalRangeTop { get; set; }

Property Value

double

The normal range top.

ShowNormalRange

Gets or sets a value indicating whether to show normal range.

Declaration

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

Property Value

bool

If show normal rangetrue; otherwise, false.

Methods

HideLineGeometry()

Hides the line geometry.

Declaration

cs-api-definition
protected override void HideLineGeometry()

Overrides RadLinearSparklineBase.HideLineGeometry()

OnDataChanged()

Called when underlying data has changed significantly and requires the control to redraw itself.

Declaration

cs-api-definition
protected override void OnDataChanged()

Overrides RadLinearSparklineBase.OnDataChanged()

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnSizeChanged(object, SizeChangedEventArgs)

Called when [size changed].

Declaration

cs-api-definition
protected override void OnSizeChanged(object sender, SizeChangedEventArgs e)

Parameters

sender

object

The sender.

e

SizeChangedEventArgs

The SizeChangedEventArgs instance containing the event data.

Overrides RadLinearSparklineBase.OnSizeChanged(object, SizeChangedEventArgs)

ShowLineGeometry()

Shows the line geometry.

Declaration

cs-api-definition
protected override void ShowLineGeometry()

Overrides RadLinearSparklineBase.ShowLineGeometry()