LogarithmicNumericAxis
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
public LogarithmicNumericAxis()
logarithmicNumericAxis = LogarithmicNumericAxis()
Initializes a new instance of the LogarithmicNumericAxis class.
Properties
public override bool IsLogarithmicAxis { get; }
value = logarithmicNumericAxis.IsLogarithmicAxis
Gets a value indicating whether this instance is a logarithmic axis.
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
public override AxisParams GetAxisParams()
result = logarithmicNumericAxis.GetAxisParams()
Gets an AxisParams struct with info about the current axis setup
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
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
public override bool IsValidRange(IRange range)
result = logarithmicNumericAxis.IsValidRange(range)
Checks whether is valid visible range for this axis
- range
Fields
public static readonly DependencyProperty LogarithmicBaseProperty
value = LogarithmicNumericAxis.LogarithmicBaseProperty
Defines the LogarithmicBase DependencyProperty