public class NumericAxis extends AxisBase<java.lang.Double> implements INumericAxis
SciChartSurface
IAxis
,
AxisBase
,
NumericAxis
,
DateAxis
,
CategoryAxisBase
,
CategoryDateAxis
AxisCore.InvalidateAndRecreateCalculatorsCallback, AxisCore.InvalidateElementCallback, AxisCore.RedrawElementCallback
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_CURSOR_TEXT_FORMATTING
Default cursor text formatting used by
IChartModifier for NumericAxis |
static java.lang.String |
DEFAULT_TEXT_FORMATTING
Default text formatting for
NumericAxis |
protected com.scichart.core.framework.SmartProperty<ScientificNotation> |
scientificNotationProperty |
autoFitMarginLabelsProperty, axisTickLabelStyleProperty, axisTitleGravityProperty, axisTitleOrientationProperty, axisTitlePlacementProperty, currentCoordinateCalculator, currentInteractivityHelper, DEFAULT_AXIS_ID, DEFAULT_AXIS_TICK_LABEL_STYLE, isLabelCullingEnabledProperty, isLayoutRectDirty, isPrimaryAxisProperty, isProvidersDirty, isRenderersDirty, tickLabelStyleProperty, titleStyleProperty
autoRangeProperty, autoTicksProperty, axisBandsStyleProperty, axisParams, axisParamsLock, axisTitleProperty, cursorTextFormattingProperty, drawLabelsProperty, drawMajorBandsProperty, drawMajorGridLinesProperty, drawMajorTicksProperty, drawMinorGridLinesProperty, drawMinorTicksProperty, flipCoordinatesProperty, invalidateAndRecreateCalculatorsCallback, invalidateElement, majorDeltaProperty, majorGridLineStyleProperty, majorTickLineLengthProperty, majorTickLineStyleProperty, maxAutoTicksProperty, minorDeltaProperty, minorGridLineStyleProperty, minorsPerMajorProperty, minorTickLineLengthProperty, minorTickLineStyleProperty, redrawElement, textFormattingProperty
Modifier | Constructor and Description |
---|---|
|
NumericAxis(android.content.Context context)
Creates a new instance of
NumericAxis class |
protected |
NumericAxis(IAxisModifierSurface axisModifierSurface)
Creates a new instance of
NumericAxis class |
protected |
NumericAxis(com.scichart.data.model.IRange<java.lang.Double> defaultNonZeroRange,
IAxisModifierSurface axisModifierSurface)
Creates a new instance of
NumericAxis class |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Comparable |
fromDouble(double doubleValue)
Converts specified double representation of value to data value used by axis
|
ScientificNotation |
getScientificNotation()
Gets the used number format
|
protected java.lang.Class<java.lang.Double> |
getType()
Gets base value type for current axis
|
protected java.lang.Class<? extends com.scichart.data.model.IRange<java.lang.Double>> |
getVisibleRangeType()
Gets the type of visible range which is supported by current axis
|
void |
setScientificNotation(ScientificNotation scientificNotation)
Sets the used number format
|
protected double |
toDouble(java.lang.Comparable dataValue)
Converts specified data value to its double representation
|
applyThemeProvider, attachTo, calculateAxisOffset, calculateAxisViewportDimension, createCoordinateCalculator, createCoordinateCalculatorFrom, createInteractivityHelper, detach, getAutoFitMarginalLabels, getAxisAlignment, getAxisInfoProvider, getAxisLayoutState, getAxisModifierSurface, getAxisOffset, getAxisTickLabelStyle, getAxisTitleGravity, getAxisTitleMarginBottom, getAxisTitleMarginLeft, getAxisTitleMarginRight, getAxisTitleMarginTop, getAxisTitleOrientation, getAxisTitlePlacement, getAxisViewportDimension, getBoundsRelativeTo, getBoundsRelativeTo, getContext, getCurrentCoordinateCalculator, getCurrentInteractivityHelper, getDataRange, getIsAxisFlipped, getIsLabelCullingEnabled, getIsPrimaryAxis, getLayoutHeight, getLayoutRect, getLayoutWidth, getMaximumRange, getOrientation, getParentSurface, getTickLabelStyle, getTitleStyle, getView, getWindowedYRange, hitTest, invalidateElement, isCategoryAxis, isCenterAxis, isHorizontalAxis, isPointWithinBounds, isPointWithinBounds, isXAxis, layoutArea, onDataRangeChanged, onDraw, onDraw, onDrawAxis, onDrawGridLines, onParentSurfaceResized, onRenderSurfaceChanged, onSizeChanged, onUpdateMeasure, onVisibilityChanged, onVisibleRangeChanged, recreateCalculator, scroll, scroll, scroll, scroll, setAutoFitMarginalLabels, setAxisAlignment, setAxisInfoProvider, setAxisLayoutManager, setAxisRenderer, setAxisTickLabelStyle, setAxisTitleGravity, setAxisTitleMargins, setAxisTitleMargins, setAxisTitleOrientation, setAxisTitlePlacement, setAxisTitleRenderer, setGridLinesRenderer, setIsCenterAxis, setIsLabelCullingEnabled, setIsPrimaryAxis, setIsXAxis, setMargins, setMargins, setOrientation, setRangeCalculationHelper, setTickLabelStyle, setTitleStyle, translatePoint, update, updateAxisMeasurements, updateAxisParams, updateCore, zoom, zoom, zoomBy, zoomBy
animateVisibleRangeTo, coerceVisibleRange, decrementSuspend, formatCursorText, formatText, getAutoRange, getAutoTicks, getAxisBandsStyle, getAxisId, getAxisParamsLock, getAxisTitle, getCoordinate, getCursorTextFormatting, getDataRange, getDataValue, getDefaultNonZeroRange, getDrawLabels, getDrawMajorBands, getDrawMajorGridLines, getDrawMajorTicks, getDrawMinorGridLines, getDrawMinorTicks, getFlipCoordinates, getGrowBy, getIsSuspended, getLabelProvider, getMajorDelta, getMajorGridLineStyle, getMajorTickLineLength, getMajorTickLineStyle, getMaxAutoTicks, getMaximumRange, getMaximumZoomConstrain, getMinimalZoomConstrain, getMinorDelta, getMinorGridLineStyle, getMinorsPerMajor, getMinorTickLineLength, getMinorTickLineStyle, getServices, getTextFormatting, getTickCoordinatesProvider, getTickProvider, getUpdateSuspenderCount, getVisibility, getVisibleRange, getVisibleRangeAnimator, getVisibleRangeLimit, getVisibleRangeLimitMode, getZoomConstrainType, hasDefaultVisibleRange, hasValidVisibleRange, invalidateElement, isAttached, isValidRange, isValidVisibleRange, isZoomConstrainSatisfied, resumeUpdates, setAutoRange, setAutoTicks, setAxisBandsStyle, setAxisId, setAxisTitle, setCursorTextFormatting, setDataRangeChangeListener, setDrawLabels, setDrawMajorBands, setDrawMajorGridLines, setDrawMajorTicks, setDrawMinorGridLines, setDrawMinorTicks, setFlipCoordinates, setGrowBy, setLabelProvider, setMajorDelta, setMajorGridLineStyle, setMajorTickLineLength, setMajorTickLineStyle, setMaxAutoTicks, setMaximumZoomConstrain, setMinimalZoomConstrain, setMinorDelta, setMinorGridLineStyle, setMinorsPerMajor, setMinorTickLineLength, setMinorTickLineStyle, setTextFormatting, setTickCoordinatesProvider, setTickProvider, setVisibility, setVisibleRange, setVisibleRangeAnimator, setVisibleRangeChangeListener, setVisibleRangeLimit, setVisibleRangeLimitMode, suspendUpdates, tryApplyVisibleRangeLimitTo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
animateVisibleRangeTo, createCoordinateCalculatorFrom, formatCursorText, formatText, getAutoRange, getAutoTicks, getAxisBandsStyle, getAxisId, getAxisParamsLock, getAxisTitle, getAxisViewportDimension, getCoordinate, getCurrentCoordinateCalculator, getCursorTextFormatting, getDataRange, getDataRange, getDataValue, getDefaultNonZeroRange, getDrawLabels, getDrawMajorBands, getDrawMajorGridLines, getDrawMajorTicks, getDrawMinorGridLines, getDrawMinorTicks, getFlipCoordinates, getGrowBy, getLabelProvider, getMajorDelta, getMajorGridLineStyle, getMajorTickLineLength, getMajorTickLineStyle, getMaxAutoTicks, getMaximumRange, getMaximumRange, getMaximumZoomConstrain, getMinimalZoomConstrain, getMinorDelta, getMinorGridLineStyle, getMinorsPerMajor, getMinorTickLineLength, getMinorTickLineStyle, getTextFormatting, getTickCoordinatesProvider, getTickProvider, getVisibility, getVisibleRange, getVisibleRangeLimit, getVisibleRangeLimitMode, hasDefaultVisibleRange, hasValidVisibleRange, isValidRange, onDataRangeChanged, setAutoRange, setAutoTicks, setAxisBandsStyle, setAxisId, setAxisTitle, setCursorTextFormatting, setDataRangeChangeListener, setDrawLabels, setDrawMajorBands, setDrawMajorGridLines, setDrawMajorTicks, setDrawMinorGridLines, setDrawMinorTicks, setFlipCoordinates, setGrowBy, setLabelProvider, setMajorDelta, setMajorGridLineStyle, setMajorTickLineLength, setMajorTickLineStyle, setMaxAutoTicks, setMaximumZoomConstrain, setMinimalZoomConstrain, setMinorDelta, setMinorGridLineStyle, setMinorsPerMajor, setMinorTickLineLength, setMinorTickLineStyle, setTextFormatting, setTickCoordinatesProvider, setTickProvider, setVisibility, setVisibleRange, setVisibleRangeChangeListener, setVisibleRangeLimit, setVisibleRangeLimitMode
decrementSuspend, getIsSuspended, getUpdateSuspenderCount, resumeUpdates, suspendUpdates
invalidateElement
applyThemeProvider
public static final java.lang.String DEFAULT_TEXT_FORMATTING
NumericAxis
public static final java.lang.String DEFAULT_CURSOR_TEXT_FORMATTING
IChartModifier
for NumericAxis
protected final com.scichart.core.framework.SmartProperty<ScientificNotation> scientificNotationProperty
public NumericAxis(android.content.Context context)
NumericAxis
classcontext
- The context of applicationprotected NumericAxis(IAxisModifierSurface axisModifierSurface)
NumericAxis
classaxisModifierSurface
- The IAxisModifierSurface
for this this axisprotected NumericAxis(com.scichart.data.model.IRange<java.lang.Double> defaultNonZeroRange, IAxisModifierSurface axisModifierSurface)
NumericAxis
classdefaultNonZeroRange
- The default non zero IRange
instance for this axisaxisModifierSurface
- The IAxisModifierSurface
for this this axisprotected java.lang.Class<? extends com.scichart.data.model.IRange<java.lang.Double>> getVisibleRangeType()
getVisibleRangeType
in class AxisCore<java.lang.Double>
protected final java.lang.Class<java.lang.Double> getType()
protected final java.lang.Comparable fromDouble(double doubleValue)
fromDouble
in class AxisCore<java.lang.Double>
doubleValue
- The double value to convertprotected final double toDouble(java.lang.Comparable dataValue)
public final void setScientificNotation(ScientificNotation scientificNotation)
setScientificNotation
in interface INumericAxis
scientificNotation
- The new ScientificNotation
valuepublic final ScientificNotation getScientificNotation()
getScientificNotation
in interface INumericAxis
ScientificNotation
value