SparkNumericalAxis
Definition
Namespace:Telerik.WinControls.UI.Sparkline
Assembly:Telerik.WinControls.UI.dll
Syntax:
public abstract class SparkNumericalAxis : SparkCartesianAxis, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISparkElementPresenter, IStylableElement, IStylableNode, IShapedElement
Inheritance: objectDisposableObjectRadObjectUISparkElementSparkAxisSparkCartesianAxisSparkNumericalAxis...
Derived Classes:
Implements:
Inherited Members
Constructors
protected SparkNumericalAxis()
Properties
Gets the actual range used by the axis to plot data points.
[Browsable(false)]
public SparkValueRange<double> ActualRange { get; }
Gets or sets the user-defined number of ticks presented on the axis.
public int DesiredTickCount { get; set; }
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.
public double Maximum { get; set; }
You can reset this property by setting it to double.PositiveInfinity to restore the default behavior.
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.
public double Minimum { get; set; }
You can reset this property by setting it to double.NegativeInfinity to restore the default behavior.
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.
public NumericalAxisRangeExtendDirection RangeExtendDirection { get; set; }
Methods
Gets the location in pixels for the given value along the axis. The method takes into account whether the axis is vertical or horizontal.