Class SparkNumericalAxis
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.Sparkline
Assembly: Telerik.WinControls.UI.dll
Syntax
public abstract class SparkNumericalAxis : SparkCartesianAxis, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISparkElementPresenter, IStylableElement, IStylableNode, IShapedElement
Constructors
SparkNumericalAxis()
Declaration
protected SparkNumericalAxis()
Properties
ActualRange
Gets the actual range used by the axis to plot data points.
Declaration
public SparkValueRange<double> ActualRange { get; }
Property Value
SparkValueRange<System.Double>
|
DesiredTickCount
Gets or sets the user-defined number of ticks presented on the axis.
Declaration
public int DesiredTickCount { get; set; }
Property Value
System.Int32
|
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
System.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
public double Minimum { get; set; }
Property Value
System.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
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
public override double GetLocationOfValue(object value)
Parameters
System.Object
value
A value from the axis values range. |
Returns
System.Double
The location in pixesls. |