Class NumericAxis
Provides a Linear, 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 See Also: CategoryAxisBase, DateAxis, CategoryDateAxis, IAxis, NumericAxis, AxisBase
Implements
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class NumericAxis extends AxisBase<Double> implements INumericAxis
Constructors
NumericAxis(Context context)
Creates a new instance of NumericAxis class
Declaration
public NumericAxis(Context context)
Parameters
Type | Name | Description |
---|---|---|
android.content.Context | context | The context of application |
NumericAxis(IAxisModifierSurface axisModifierSurface)
Creates a new instance of NumericAxis class
Declaration
protected NumericAxis(IAxisModifierSurface axisModifierSurface)
Parameters
Type | Name | Description |
---|---|---|
IAxisModifierSurface | axisModifierSurface | The IAxisModifierSurface for this this axis |
NumericAxis(IRange<Double> defaultNonZeroRange, IAxisModifierSurface axisModifierSurface)
Creates a new instance of NumericAxis class
Declaration
protected NumericAxis(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_CURSOR_TEXT_FORMATTING
Default cursor text formatting used by com.scichart.charting.modifiers.IChartModifier for NumericAxis
Declaration
public static final String DEFAULT_CURSOR_TEXT_FORMATTING
Field Value
Type | Description |
---|---|
String |
DEFAULT_TEXT_FORMATTING
Default text formatting for NumericAxis
Declaration
public static final String DEFAULT_TEXT_FORMATTING
Field Value
Type | Description |
---|---|
String |
scientificNotationProperty
Declaration
protected final SmartProperty<ScientificNotation> scientificNotationProperty
Field Value
Type | Description |
---|---|
SmartProperty<ScientificNotation> |
Methods
fromDouble(double doubleValue)
Converts specified double representation of value to data value used by axis
Declaration
protected final Comparable fromDouble(double doubleValue)
Parameters
Type | Name | Description |
---|---|---|
double | doubleValue |
Returns
Type | Description |
---|---|
Comparable |
Overrides
getScientificNotation()
Gets the used number format
Declaration
public final ScientificNotation getScientificNotation()
Returns
Type | Description |
---|---|
ScientificNotation |
getType()
Gets base value type for current axis
Declaration
protected final Class<Double> getType()
Returns
Type | Description |
---|---|
Class<Double> |
Overrides
getVisibleRangeType()
Gets the type of visible range which is supported by current axis
Declaration
protected Class<? extends IRange<Double>> getVisibleRangeType()
Returns
Type | Description |
---|---|
Class<? extends com.scichart.data.model.IRange<Double>> |
Overrides
setScientificNotation(ScientificNotation scientificNotation)
Sets the used number format
Declaration
public final void setScientificNotation(ScientificNotation scientificNotation)
Parameters
Type | Name | Description |
---|---|---|
ScientificNotation | scientificNotation |
toDouble(Comparable dataValue)
Converts specified data value to its double representation
Declaration
protected final double toDouble(Comparable dataValue)
Parameters
Type | Name | Description |
---|---|---|
Comparable | dataValue |
Returns
Type | Description |
---|---|
double |