LogarithmicNumericAxis

StockSharp.Xaml.Charting.Visuals.Axes

Provides a Logarithmic, Value Numeric Axis, capable of rendering double, int, short, byte, long ticks on the X or Y-Axis of a UltrachartSurface. The LogarithmicBase property determines which base is used for the logarithm.

Inherits: NumericAxis

Implements: ILogarithmicAxis, IAxis, IAxisParams, IHitTestable, ISuspendable, IInvalidatableElement, IDrawable

Constructors

LogarithmicNumericAxis
public LogarithmicNumericAxis()
logarithmicNumericAxis = LogarithmicNumericAxis()

Initializes a new instance of the LogarithmicNumericAxis class.

Properties

IsLogarithmicAxis
public override bool IsLogarithmicAxis { get; }
value = logarithmicNumericAxis.IsLogarithmicAxis

Gets a value indicating whether this instance is a logarithmic axis.

LogarithmicBase
public double LogarithmicBase { get; set; }
value = logarithmicNumericAxis.LogarithmicBase
logarithmicNumericAxis.LogarithmicBase = value

Gets or sets the value which determines the base used for the logarithm.

Methods

GetAxisParams
public override AxisParams GetAxisParams()
result = logarithmicNumericAxis.GetAxisParams()

Gets an AxisParams struct with info about the current axis setup

GetDefaultNonZeroRange
public override IRange GetDefaultNonZeroRange()
result = logarithmicNumericAxis.GetDefaultNonZeroRange()

Returns an default non zero IRange, called internally by Ultrachart to reset the VisibleRange of an axis to an undefined state

GetDeltaCalculator
protected override IDeltaCalculator GetDeltaCalculator()
result = logarithmicNumericAxis.GetDeltaCalculator()

Returns an instance of an IDeltaCalculator which is used to compute the data-values of Axis Gridlines, Ticks and Labels. When overridden in a derived class (e.g. LogarithmicNumericAxis, the implementation of GetTickCalculator() changes to allow calculations specific to that axis type

Returns: An IDeltaCalculator instance

IsValidRange
public override bool IsValidRange(IRange range)
result = logarithmicNumericAxis.IsValidRange(range)

Checks whether is valid visible range for this axis

range

Fields

LogarithmicBaseProperty
public static readonly DependencyProperty LogarithmicBaseProperty
value = LogarithmicNumericAxis.LogarithmicBaseProperty

Defines the LogarithmicBase DependencyProperty