Class
RadSparklineBase

Base class containing common functionality for all sparkline controls.

Definition

Namespace:Telerik.Windows.Controls.Sparklines

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public abstract class RadSparklineBase : Control

Inheritance: objectRadSparklineBase

Derived Classes: RadIndicatedSparklineBase

Constructors

RadSparklineBase()

Initializes a new instance of the RadSparklineBase class.

Declaration

cs-api-definition
protected RadSparklineBase()

Fields

AutoRangeProperty

Identifies the AutoRange dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AutoRangeProperty

Field Value

DependencyProperty

AxisOriginValueProperty

Identifies the AxisOriginValue dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AxisOriginValueProperty

Field Value

DependencyProperty

AxisStrokeProperty

Identifies the AxisStroke dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AxisStrokeProperty

Field Value

DependencyProperty

AxisVisibilityProperty

Identifies the AxisVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AxisVisibilityProperty

Field Value

DependencyProperty

AxisWidthProperty

Identifies the AxisWidth dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AxisWidthProperty

Field Value

DependencyProperty

EmptyPointBehaviorProperty

Identifies the EmptyPointBehavior dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EmptyPointBehaviorProperty

Field Value

DependencyProperty

ItemsSourceProperty

Identifies the ItemsSource dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemsSourceProperty

Field Value

DependencyProperty

MaxXValueProperty

Identifies the MaxXValue dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MaxXValueProperty

Field Value

DependencyProperty

MaxYValueProperty

Identifies the MaxYValue dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MaxYValueProperty

Field Value

DependencyProperty

MinXValueProperty

Identifies the MinXValue dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinXValueProperty

Field Value

DependencyProperty

MinYValueProperty

Identifies the MinYValue dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinYValueProperty

Field Value

DependencyProperty

ShowAxisProperty

Identifies the ShowAxis dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ShowAxisProperty

Field Value

DependencyProperty

XValuePathProperty

Identifies the XValuePath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty XValuePathProperty

Field Value

DependencyProperty

YValuePathProperty

Identifies the XValuePath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty YValuePathProperty

Field Value

DependencyProperty

ZeroYPositionProperty

Identifies the ZeroYPosition dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ZeroYPositionProperty

Field Value

DependencyProperty

Properties

AutoRange

Gets or sets the AutoRange.

Declaration

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

Property Value

bool

AxisOriginValue

Gets or sets the AxisOriginValue.

Declaration

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

Property Value

double

AxisStroke

Gets or sets the axis stroke.

Declaration

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

Property Value

Brush

The axis stroke.

AxisVisibility

This property supports the RadSparklineBase infrastructure and is not intended to be used directly from your code.

Declaration

cs-api-definition
public Visibility AxisVisibility { get; }

Property Value

Visibility

AxisWidth

Gets or sets the AxisWidth.

Declaration

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

Property Value

double

EmptyPointBehavior

Gets or sets the EmptyPointBehavior.

Declaration

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

Property Value

EmptyPointBehavior

ItemsSource

Gets or sets the items source property.

Declaration

cs-api-definition
public IEnumerable ItemsSource { get; set; }

Property Value

IEnumerable

MaxXValue

Gets or sets the MaxXValue.

Declaration

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

Property Value

double

MaxYValue

Gets or sets the MaxYValue.

Declaration

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

Property Value

double

MinXValue

Gets or sets the MinXValue.

Declaration

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

Property Value

double

MinYValue

Gets or sets the MinYValue.

Declaration

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

Property Value

double

ShowAxis

Gets or sets a value indicating whether to show axis.

Declaration

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

Property Value

bool

If show axis - true; otherwise, false.

VisualDataPoints

Gets the visual data points.

Declaration

cs-api-definition
protected IEnumerable<VisualDataPoint> VisualDataPoints { get; }

Property Value

IEnumerable<VisualDataPoint>

The visual data points.

XValuePath

Gets or sets the X value path.

Declaration

cs-api-definition
public string XValuePath { get; set; }

Property Value

string

YValuePath

Gets or sets the Y value path.

Declaration

cs-api-definition
public string YValuePath { get; set; }

Property Value

string

ZeroYPosition

This property supports the RadSparklineBase infrastructure and is not intended to be used directly from your code.

Declaration

cs-api-definition
public double ZeroYPosition { get; }

Property Value

double

Methods

CalculateYPosition()

Calculates the Y position.

Declaration

cs-api-definition
protected virtual void CalculateYPosition()

IsVirtualizationEnabledChanged()

Occurs when the value of the property IsVirtualizationEnabled has changed.

Declaration

cs-api-definition
protected virtual void IsVirtualizationEnabledChanged()

MeasureOverride(Size)

Provides the behavior for the Measure pass of Silverlight layout. Classes can override this method to define their own Measure pass behavior.

Declaration

cs-api-definition
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

The available size that this object can give to child objects. Infinity (PositiveInfinity) can be specified as a value to indicate that the object will size to whatever content is available.

Returns

Size

The size that this object determines it needs during layout, based on its calculations of the allocated sizes for child objects; or based on other considerations, such as a fixed container size.

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call .

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnCreateAutomationPeer()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

The type-specific AutomationPeer implementation.

OnDataChanged()

Called when underlying data has changed significantly and requires the control to redraw itself. Please use to synchronize non ItemsControl based graphics. For ItemsControl based graphics use UpdateItemsPanels().

Declaration

cs-api-definition
protected virtual void OnDataChanged()

OnEmptyPointBehaviorChanged()

Called when [empty point behavior changed].

Declaration

cs-api-definition
protected virtual void OnEmptyPointBehaviorChanged()

OnRangeChanged()

Called when range has changed.

Declaration

cs-api-definition
protected virtual void OnRangeChanged()

OnSizeChanged(object, SizeChangedEventArgs)

Called when [size changed].

Declaration

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

Parameters

sender

object

The sender.

e

SizeChangedEventArgs

The SizeChangedEventArgs instance containing the event data.

OnVisibleDataChanged()

Called when the visible range changes.

Declaration

cs-api-definition
protected virtual void OnVisibleDataChanged()

UpdateItemsPanels()

This method is used to force the layout update of items panels when only the DataRange is changed. ItemsPanels update their layout automatically when items are added or removed from the ItemsControl or when the size of the control is updated.

DO NOT CALL when number of items in items source has changed!!!.

Declaration

cs-api-definition
protected virtual void UpdateItemsPanels()