Class LogarithmicNumericAxis
Provides a Logarithmic, Value Numeric Axis, capable of rendering double, int, short, byte, long ticks on the X or Y-Axis of a com.scichart.charting.visuals.SciChartSurface.
Implements
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class LogarithmicNumericAxis extends NumericAxis implements ILogarithmicNumericAxis
Constructors
LogarithmicNumericAxis(Context context)
Creates a new instance of LogarithmicNumericAxis class
Declaration
public LogarithmicNumericAxis(Context context)
Parameters
| Type | Name | Description |
|---|---|---|
| android.content.Context | context |
LogarithmicNumericAxis(IAxisModifierSurface axisModifierSurface)
Creates a new instance of LogarithmicNumericAxis class
Declaration
protected LogarithmicNumericAxis(IAxisModifierSurface axisModifierSurface)
Parameters
| Type | Name | Description |
|---|---|---|
| IAxisModifierSurface | axisModifierSurface | The IAxisModifierSurface for this this axis |
LogarithmicNumericAxis(IRange<Double> defaultNonZeroRange, IAxisModifierSurface axisModifierSurface)
Creates a new instance of LogarithmicNumericAxis class
Declaration
protected LogarithmicNumericAxis(IRange<Double> defaultNonZeroRange, IAxisModifierSurface axisModifierSurface)
Parameters
| Type | Name | Description |
|---|---|---|
| IRange<Double> | defaultNonZeroRange | The default non zero IRange instance for this axis |
| IAxisModifierSurface | axisModifierSurface | The IAxisModifierSurface for this this axis |
Fields
DEFAULT_LOGARITHMIC_TEXT_FORMATTING
Default text formatting for LogarithmicNumericAxis
Declaration
public static final String DEFAULT_LOGARITHMIC_TEXT_FORMATTING
Field Value
| Type | Description |
|---|---|
| String |
logarithmicBaseProperty
Declaration
protected final SmartPropertyDouble logarithmicBaseProperty
Field Value
| Type | Description |
|---|---|
| SmartPropertyDouble |
Methods
createCoordinateCalculator(AxisParams axisParams, double visibleRangeMin, double visibleRangeMax)
Creates new ICoordinateCalculator based on axis params values and double representation of visible range
Declaration
protected coordinateCalculators.ICoordinateCalculator createCoordinateCalculator(AxisParams axisParams, double visibleRangeMin, double visibleRangeMax)
Parameters
| Type | Name | Description |
|---|---|---|
| AxisParams | axisParams | |
| double | visibleRangeMin | |
| double | visibleRangeMax |
Returns
| Type | Description |
|---|---|
| coordinateCalculators.ICoordinateCalculator |
Overrides
createInteractivityHelper(coordinateCalculators.ICoordinateCalculator currentCoordinateCalculator)
Creates a new IAxisInteractivityHelper instance for this axis
Declaration
protected IAxisInteractivityHelper createInteractivityHelper(coordinateCalculators.ICoordinateCalculator currentCoordinateCalculator)
Parameters
| Type | Name | Description |
|---|---|---|
| coordinateCalculators.ICoordinateCalculator | currentCoordinateCalculator |
Returns
| Type | Description |
|---|---|
| IAxisInteractivityHelper |
Overrides
getLogarithmicBase()
Gets a logarithmic base used by the logarithmic scale of LogarithmicNumericAxis.
Declaration
public final double getLogarithmicBase()
Returns
| Type | Description |
|---|---|
| double |
isValidRange(IRange range)
Checks whether range is valid visible range for this axis
Declaration
public boolean isValidRange(IRange range)
Parameters
| Type | Name | Description |
|---|---|---|
| IRange | range |
Returns
| Type | Description |
|---|---|
| boolean |
Overrides
setLogarithmicBase(double logBase)
Sets a logarithmic base used by the logarithmic scale of LogarithmicNumericAxis.
Declaration
public final void setLogarithmicBase(double logBase)
Parameters
| Type | Name | Description |
|---|---|---|
| double | logBase |