SparkBarSeries
Displays a Cartesian sparkline as bars extending from BaselineValue. In this series, the baseline also sets the numerical-axis origin.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class SparkBarSeries : SparkCartesianSeries, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISparkElementPresenter, IStylableElement, IStylableNode, IShapedElement, ISupportBaseline
Inheritance: objectDisposableObjectRadObjectUISparkElementSparkSeriesSparkCartesianSeriesSparkBarSeries...
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the SparkBarSeries class.
public SparkBarSeries()
Initializes a new instance of the SparkBarSeries class.
Initializes a new instance of the SparkBarSeries class.
Fields
Identifies the value used as the bar baseline and, for this series, the numerical-axis origin.
public static RadProperty BaselineValueProperty
Properties
Gets or sets the bar baseline and numerical-axis origin. For SparkWinLossSeries, this value is the threshold between the Win and Loss halves; its numerical-axis origin is the actual range midpoint when a numerical secondary axis is available.
public virtual double BaselineValue { get; set; }
Implements:
Gets the high value data point.
public override double? HighValue { get; }
Overrides:
Gets the low value data point.
public override double? LowValue { get; }
Overrides:
Gets the model.
public override SparkSeriesModel Model { get; }
The model.
Overrides:
Methods
Creates the model.
protected override SparkDataPointCollection CreateModel()
Overrides:
Gets the baseline value used as the origin for the bar series' vertical axis.
Sets bar-series defaults, including unsmoothed drawing and zero-width point-marker borders.
protected override void InitProperties()
Overrides:
Positions the horizontal axis at the vertical axis value returned by GetAxisOrigin().
protected override void OffsetAxis()
Overrides:
Updates the cached baseline and numerical-axis model when BaselineValue changes.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The property change notification.
Overrides:
Reapplies the current series baseline to an attached numerical secondary axis and resets the view when that axis model is available.
protected virtual void UpdateModel(double baselineValue)
The value associated with the baseline change; the base implementation reads BaselineValue for the axis origin.