Class
SparkNumericalAxis

Definition

Namespace:Telerik.WinControls.UI.Sparkline

Assembly:Telerik.WinControls.UI.dll

Syntax:

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

Inheritance: objectDisposableObjectRadObjectUISparkElementSparkAxisSparkCartesianAxisSparkNumericalAxis

Derived Classes: SparkLinearAxis

Implements: ICustomTypeDescriptorIDisposableINotifyPropertyChangedIShapedElementISparkElementPresenterIStylableElementIStylableNode

Inherited Members SparkCartesianAxis.OnAttached(UISparkElement)SparkCartesianAxis.OnDettached()SparkCartesianAxis.SyncVisualSettings()SparkCartesianAxis.HorizontalLocationSparkCartesianAxis.VerticalLocationSparkCartesianAxis.StartPositionAxisSparkCartesianAxis.StartPositionValueSparkAxis.OnPropertyChanged(RadPropertyChangedEventArgs)SparkAxis.OnNotifyPropertyChanged(string)SparkAxis.ToString()SparkAxis.IsPrimarySparkAxis.AxisTypeSparkAxis.DrawModeSparkAxis.ModelSparkAxis.LineWidthUISparkElement.IsVisiblePropertyUISparkElement.ClassPropertyUISparkElement.VisualStatePropertyUISparkElement.IsMouseDownPropertyUISparkElement.IsMouseOverPropertyUISparkElement.FontPropertyUISparkElement.CustomFontPropertyUISparkElement.CustomFontSizePropertyUISparkElement.CustomFontStylePropertyUISparkElement.ForeColorPropertyUISparkElement.BackColorPropertyUISparkElement.BorderWidthPropertyUISparkElement.BorderColorPropertyUISparkElement.BorderDashStylePropertyUISparkElement.ShapePropertyUISparkElement.SmoothingModePropertyUISparkElement.GetValue(RadProperty)UISparkElement.Attach(UISparkElement)UISparkElement.Dettach()UISparkElement.Refresh()UISparkElement.Invalidate()UISparkElement.MeasureContentOverride(SparkNode, object)UISparkElement.DpiScaleChanged(SizeF)UISparkElement.GetScaledFont(float)UISparkElement.GetCurrentShape()UISparkElement.GetThemeEffectiveType()UISparkElement.ApplyStyleSettingsCore(PropertySettingGroup)UISparkElement.ApplyStyle()UISparkElement.BuildVisualState()UISparkElement.AddStylePropertySetting(IPropertySetting)UISparkElement.ApplyStyleByIndex(PropertySettingGroup, int)UISparkElement.ParentUISparkElement.LevelUISparkElement.ChildrenUISparkElement.IsMouseDownUISparkElement.IsMouseOverUISparkElement.ViewUISparkElement.IsVisibleUISparkElement.ForeColorUISparkElement.FontUISparkElement.BackColorUISparkElement.BorderWidthUISparkElement.BorderColorUISparkElement.BorderDashStyleUISparkElement.ShapeUISparkElement.SmoothingModeUISparkElement.IsAttachedUISparkElement.DpiScaleFactorUISparkElement.ClassUISparkElement.VisualStateUISparkElement.ThemeRoleUISparkElement.ChildrenHierarchyUISparkElement.StyleUISparkElement.StateManagerUISparkElement.FallbackToDefaultThemeRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadObject.DisposeManagedResources()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(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

SparkNumericalAxis()

Declaration

cs-api-definition
protected SparkNumericalAxis()

Properties

ActualRange

Gets the actual range used by the axis to plot data points.

Declaration

cs-api-definition
[Browsable(false)]
public SparkValueRange<double> ActualRange { get; }

Property Value

SparkValueRange<double>

DesiredTickCount

Gets or sets the user-defined number of ticks presented on the axis.

Declaration

cs-api-definition
public int DesiredTickCount { get; set; }

Property Value

int

Maximum

Gets or sets the user-defined maximum of the axis. By default the axis itself will calculate the maximum, depending on the maximum of the plotted data points.

Declaration

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

Property Value

double

Remarks

You can reset this property by setting it to double.PositiveInfinity to restore the default behavior.

Minimum

Gets or sets the user-defined minimum of the axis. By default the axis itself will calculate the minimum, depending on the minimum of the plotted data points.

Declaration

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

Property Value

double

Remarks

You can reset this property by setting it to double.NegativeInfinity to restore the default behavior.

RangeExtendDirection

Gets or sets a value that specifies how the auto-range of this axis will be extended so that each data point is visualized in the best possible way.

Declaration

cs-api-definition
public NumericalAxisRangeExtendDirection RangeExtendDirection { get; set; }

Property Value

NumericalAxisRangeExtendDirection

Methods

GetLocationOfValue(object)

Gets the location in pixels for the given value along the axis. The method takes into account whether the axis is vertical or horizontal.

Declaration

cs-api-definition
public override double GetLocationOfValue(object value)

Parameters

value

object

A value from the axis values range.

Returns

double

The location in pixesls.

Overrides SparkCartesianAxis.GetLocationOfValue(object)