ClassSparkNumericalAxis
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
SparkNumericalAxis()
Declaration
protected SparkNumericalAxis()
Properties
ActualRange
Gets the actual range used by the axis to plot data points.
Declaration
[Browsable(false)]
public SparkValueRange<double> ActualRange { get; }
Property Value
DesiredTickCount
Gets or sets the user-defined number of ticks presented on the axis.
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
public double Maximum { get; set; }
Property Value
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
public double Minimum { get; set; }
Property Value
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
public NumericalAxisRangeExtendDirection RangeExtendDirection { get; set; }
Property Value
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.