public final class NumericAxis extends AbstractAxis
Compared to the NumberAxis, this one has a few additional features:
auto-ranging is offauto-range paddingauto-range roundingtick unit suppliers| Type | Property and Description |
|---|---|
DoubleProperty |
autoRangePadding
Fraction of the range to be applied as padding on both sides of the axis range.
|
BooleanProperty |
forceZeroInRange
When
true zero is always included in the visible range. |
DoubleProperty |
tickUnit
The value between each major tick mark in data units.
|
ObjectProperty<TickUnitSupplier> |
tickUnitSupplier
Strategy to compute major tick unit when auto-range is on or when axis bounds change.
|
axisLabelFormatterPropertyanimatedProperty, animationDurationProperty, autoGrowRangingProperty, autoRangeRoundingProperty, autoRangingProperty, autoUnitScalingProperty, axisLabelGapProperty, axisLabelTextAlignmentProperty, axisPaddingProperty, centerAxisPositionProperty, invertAxisProperty, maxProperty, minorTickCountProperty, minorTickLengthProperty, minorTickVisibleProperty, minProperty, nameProperty, overlapPolicyProperty, scaleProperty, sideProperty, tickLabelFillProperty, tickLabelFontProperty, tickLabelFormatterProperty, tickLabelGapProperty, tickLabelRotationProperty, tickLabelsVisibleProperty, tickLengthProperty, tickMarkVisibleProperty, timeAxisProperty, unitProperty, unitScalingPropertybackgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, heightProperty, insetsProperty, maxHeightProperty, maxWidthProperty, minHeightProperty, minWidthProperty, opaqueInsetsProperty, paddingProperty, prefHeightProperty, prefWidthProperty, scaleShapeProperty, shapeProperty, snapToPixelProperty, widthPropertyimpl_traversalEngineProperty, needsLayoutPropertyaccessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, cacheHintProperty, cacheProperty, clipProperty, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, focusedProperty, focusTraversableProperty, hoverProperty, idProperty, impl_showMnemonicsProperty, impl_treeVisibleProperty, inputMethodRequestsProperty, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParentTransformProperty, localToSceneTransformProperty, managedProperty, mouseTransparentProperty, nodeOrientationProperty, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, pickOnBoundsProperty, pressedProperty, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, styleProperty, translateXProperty, translateYProperty, translateZProperty, visiblePropertyautoGrowRangingProperty, autoRangingProperty, autoUnitScalingProperty, invertAxisProperty, maxProperty, minProperty, nameProperty, sideProperty, timeAxisProperty, unitProperty, unitScalingPropertyanimator, BURST_LIMIT_CSS_MS, cachedOffset, currentLowerBound, labelOverlap, lock, maxLabelHeight, maxLabelWidth, RANGE_ANIMATION_DURATION_MS, tickMarkDoubleCache, tickMarkSizeCache, tickMarkStringCacheautoRange, axisLabel, DEFAULT_MINOR_TICK_COUNT, isInvertedAxis, isTimeAxis, majorTickMarks, majorTickStyle, maxProp, measureInvalid, minorTickMarks, minorTickStyle, minProp, oldAxisLength, rangeValid, scaleBinding, tickLabelRotation, tickLabelsVisibleInvalid, userRangeUSE_COMPUTED_SIZE, USE_PREF_SIZEBASELINE_OFFSET_SAME_AS_HEIGHT| Constructor and Description |
|---|
NumericAxis()
Creates an
auto-ranging Axis. |
NumericAxis(double lowerBound,
double upperBound,
double tickUnit)
Creates a
non-auto-ranging Axis with the given upper bound, lower bound and tick
unit. |
NumericAxis(String axisLabel,
double lowerBound,
double upperBound,
double tickUnit)
Create a
non-auto-ranging Axis with the given upper bound, lower bound and tick
unit. |
| Modifier and Type | Method and Description |
|---|---|
protected AxisRange |
autoRange(double minValue,
double maxValue,
double length,
double labelSize)
We suppress requestLayout() calls here by doing nothing as we don't want changes to our children to cause layout.
|
DoubleProperty |
autoRangePaddingProperty()
Fraction of the range to be applied as padding on both sides of the axis range.
|
protected List<Double> |
calculateMajorTickValues(double axisLength,
AxisRange range)
Calculate a list of all the data values for each tick mark in range
|
protected List<Double> |
calculateMinorTickValues()
Calculate a list of the data values for every minor tick mark
|
double |
computePreferredTickUnit(double axisLength)
Computes the preferred tick unit based on the upper/lower bounds and the length of the axis in screen
coordinates.
|
protected AxisRange |
computeRange(double min,
double max,
double axisLength,
double labelSize)
Computes range of this axis, similarly to
AbstractAxis.autoRange(double, double, double, double). |
BooleanProperty |
forceZeroInRangeProperty()
When
true zero is always included in the visible range. |
double |
getAutoRangePadding()
Returns the value of the
autoRangePaddingProperty(). |
protected AxisRange |
getAxisRange() |
AxisTransform |
getAxisTransform() |
static List<CssMetaData<? extends Styleable,?>> |
getClassCssMetaData() |
List<CssMetaData<? extends Styleable,?>> |
getCssMetaData() |
double |
getDisplayPosition(double value)
Get the display position along this axis for a given value.
|
LogAxisType |
getLogAxisType() |
double |
getTickUnit()
Returns tick unit value expressed in data units.
|
TickUnitSupplier |
getTickUnitSupplier()
Returns the value of the
tickUnitSupplierProperty(). |
double |
getValueForDisplay(double displayPosition)
Get the data value for the given display position on this axis.
|
double |
getZeroPosition()
Get the display position of the zero line along this axis.
|
boolean |
isForceZeroInRange()
Returns the value of the
forceZeroInRangeProperty(). |
boolean |
isLogAxis()
This is true when the axis implements a log scale
|
boolean |
isValueOnAxis(double value)
Checks if the given value is plottable on this axis
|
void |
setAutoRangePadding(double padding)
Sets the value of the
autoRangePaddingProperty() |
void |
setForceZeroInRange(boolean value)
Sets the value of the
forceZeroInRangeProperty(). |
protected void |
setRange(AxisRange range,
boolean animate) |
void |
setTickUnit(double unit)
Sets the value of the
tickUnitProperty(). |
void |
setTickUnitSupplier(TickUnitSupplier supplier)
Sets the value of the
tickUnitSupplierProperty(). |
DoubleProperty |
tickUnitProperty()
The value between each major tick mark in data units.
|
ObjectProperty<TickUnitSupplier> |
tickUnitSupplierProperty()
Strategy to compute major tick unit when auto-range is on or when axis bounds change.
|
autoRange, axisLabelFormatterProperty, calculateNewScale, clearAxisCanvas, computePrefHeight, computePrefWidth, computeTickMarks, drawAxis, drawAxisLabel, drawAxisLabel, drawAxisLine, drawAxisPost, drawAxisPre, drawTickLabels, drawTickMarkLabel, drawTickMarks, fireInvalidated, forceRedraw, getAxisLabelFormatter, getCanvas, getGraphicsContext, getMaxTickLabelHeight, getMaxTickLabelWidth, getNewTickMark, getTickMarkLabel, invalidateRange, invalidateRange, isLabelOverlapping, isRangeValid, layoutChildren, measureTickMarkLength, recomputeTickMarks, recomputeTickMarks, requestAxisLayout, setAxisLabelFormatter, setMax, setMin, shouldAnimate, snap, tickMarksUpdated, updateCachedVariables, updateCSSadd, add, animatedProperty, animationDurationProperty, autoGrowRangingProperty, autoNotification, autoRangeRoundingProperty, autoRangingProperty, autoUnitScalingProperty, axisLabelGapProperty, axisLabelTextAlignmentProperty, axisPaddingProperty, centerAxisPositionProperty, clear, contains, decadeRange, getaAxisLabelTextAlignment, getAnimationDuration, getAutoRange, getAxisLabel, getAxisLabelGap, getAxisPadding, getCenterAxisPosition, getLength, getMajorTickStyle, getMax, getMin, getMinorTickCount, getMinorTickLength, getMinorTickMarks, getMinorTickStyle, getName, getOverlapPolicy, getRange, getScale, getSide, getTickLabelFill, getTickLabelFont, getTickLabelFormatter, getTickLabelGap, getTickLabelRotation, getTickLength, getTickMarks, getUnit, getUnitScaling, getUserRange, invertAxis, invertAxisProperty, invokeListener, isAnimated, isAutoGrowRanging, isAutoRangeRounding, isAutoRanging, isAutoUnitScaling, isDefined, isInvertedAxis, isMinorTickVisible, isTickLabelsVisible, isTickMarkVisible, isTimeAxis, maxProperty, minorTickCountProperty, minorTickLengthProperty, minorTickVisibleProperty, minProperty, nameProperty, overlapPolicyProperty, scaleProperty, set, set, set, setAnimated, setAnimationDuration, setAutoGrowRanging, setAutoRangeRounding, setAutoRanging, setAutoUnitScaling, setAxisCentrePosition, setAxisLabelAlignment, setAxisLabelGap, setAxisPadding, setMinorTickCount, setMinorTickLength, setMinorTickVisible, setName, setOverlapPolicy, setScale, setSide, setTickLabelFill, setTickLabelFont, setTickLabelFormatter, setTickLabelGap, setTickLabelRotation, setTickLabelsVisible, setTickLength, setTickMarkVisible, setTimeAxis, setUnit, setUnitScaling, setUnitScaling, sideProperty, tickLabelFillProperty, tickLabelFontProperty, tickLabelFormatterProperty, tickLabelGapProperty, tickLabelRotationProperty, tickLabelsVisibleProperty, tickLengthProperty, tickMarkVisibleProperty, timeAxisProperty, unitProperty, unitScalingProperty, updateAxisLabelAndUnit, updateEventListener, updateScaleAndUnitPrefixgetChildrenbackgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getUserAgentStylesheet, getWidth, heightProperty, impl_computeContains, impl_computeGeomBounds, impl_computeLayoutBounds, impl_createPeer, impl_notifyLayoutBoundsChanged, impl_pickNodeLocal, impl_updatePeer, insetsProperty, isCacheShape, isCenterShape, isResizable, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapSize, snapSpace, snapToPixelProperty, widthPropertygetBaselineOffset, getChildrenUnmodifiable, getImpl_traversalEngine, getManagedChildren, getStylesheets, impl_getAllParentStylesheets, impl_processCSS, impl_processMXNode, impl_traversalEngineProperty, isNeedsLayout, layout, lookup, needsLayoutProperty, queryAccessibleAttribute, requestLayout, requestParentLayout, setImpl_traversalEngine, setNeedsLayout, updateBoundsaccessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, containsBounds, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, executeAccessibleAction, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, hasProperties, hoverProperty, idProperty, impl_clearDirty, impl_computeIntersects, impl_cssGetCursorInitialValue, impl_cssGetFocusTraversableInitialValue, impl_findStyles, impl_geomChanged, impl_getLeafTransform, impl_getMatchingStyles, impl_getPeer, impl_getPivotX, impl_getPivotY, impl_getPivotZ, impl_getStyleMap, impl_hasTransforms, impl_intersects, impl_intersectsBounds, impl_isDirty, impl_isDirtyEmpty, impl_isShowMnemonics, impl_isTreeVisible, impl_layoutBoundsChanged, impl_markDirty, impl_pickNode, impl_processCSS, impl_reapplyCSS, impl_setShowMnemonics, impl_setStyleMap, impl_showMnemonicsProperty, impl_syncPeer, impl_transformsChanged, impl_traverse, impl_treeVisibleProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, visiblePropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitautoGrowRangingProperty, autoRangingProperty, autoUnitScalingProperty, getAutoRange, getHeight, getLength, getMinorTickCount, getMinorTickMarks, getRange, getSide, getTickLabelFill, getTickLabelFont, getTickLabelFormatter, getTickLabelGap, getTickMarks, getUnitScaling, getUserRange, getWidth, invertAxis, invertAxisProperty, invokeListener, isAutoGrowRanging, isAutoRanging, isAutoUnitScaling, isInvertedAxis, isTimeAxis, maxProperty, minProperty, nameProperty, setAnimated, setAutoGrowRanging, setAutoRanging, setAutoUnitScaling, setName, setSide, setTimeAxis, setUnit, setUnitScaling, setUnitScaling, sideProperty, timeAxisProperty, unitProperty, unitScalingPropertyadd, add, add, clear, contains, getMax, getMin, getName, getUnit, isDefined, set, set, set, setaddListener, autoNotification, invokeListener, invokeListener, isAutoNotification, removeListener, updateEventListenerpublic DoubleProperty autoRangePaddingProperty
autoRangePaddingProperty in class AbstractAxisParametergetAutoRangePadding(),
setAutoRangePadding(double)public BooleanProperty forceZeroInRangeProperty
true zero is always included in the visible range. This only has effect if
auto-ranging is on.isForceZeroInRange(),
setForceZeroInRange(boolean)public DoubleProperty tickUnitProperty
tickUnitProperty in interface AxistickUnitProperty in class AbstractAxisParametergetTickUnit(),
setTickUnit(double)public ObjectProperty<TickUnitSupplier> tickUnitSupplierProperty
DefaultTickUnitSupplier.
See TickUnitSupplier for more information about the expected behavior of the strategy.
public NumericAxis()
auto-ranging Axis.public NumericAxis(double lowerBound,
double upperBound,
double tickUnit)
non-auto-ranging Axis with the given upper bound, lower bound and tick
unit.lowerBound - the lower bound of the axisupperBound - the upper bound of the axistickUnit - the tick unit, i.e. space between tick markspublic NumericAxis(String axisLabel, double lowerBound, double upperBound, double tickUnit)
non-auto-ranging Axis with the given upper bound, lower bound and tick
unit.axisLabel - the axis labellowerBound - the lower bound of the axisupperBound - the upper bound of the axistickUnit - the tick unit, i.e. space between tick marksprotected AxisRange autoRange(double minValue, double maxValue, double length, double labelSize)
AbstractAxisautoRange in class AbstractAxispublic DoubleProperty autoRangePaddingProperty()
autoRangePaddingProperty in class AbstractAxisParametergetAutoRangePadding(),
setAutoRangePadding(double)protected List<Double> calculateMajorTickValues(double axisLength, AxisRange range)
AbstractAxiscalculateMajorTickValues in class AbstractAxisaxisLength - The length of the axis in display unitsrange - A range object returned from autoRange()protected List<Double> calculateMinorTickValues()
AbstractAxiscalculateMinorTickValues in class AbstractAxispublic double computePreferredTickUnit(double axisLength)
computePreferredTickUnit in class AbstractAxisaxisLength - the length in screen coordinatesprotected AxisRange computeRange(double min, double max, double axisLength, double labelSize)
AbstractAxisAbstractAxis.autoRange(double, double, double, double). The major
difference is that this method is called when auto-range is off.computeRange in class AbstractAxismin - The min data value that needs to be plotted on this axismax - The max data value that needs to be plotted on this axisaxisLength - The length of the axis in display coordinateslabelSize - The approximate average size a label takes along the axisAbstractAxis.autoRange(double, double, double, double)public BooleanProperty forceZeroInRangeProperty()
true zero is always included in the visible range. This only has effect if
auto-ranging is on.isForceZeroInRange(),
setForceZeroInRange(boolean)public double getAutoRangePadding()
autoRangePaddingProperty().getAutoRangePadding in class AbstractAxisParameterprotected AxisRange getAxisRange()
getAxisRange in class AbstractAxispublic AxisTransform getAxisTransform()
public List<CssMetaData<? extends Styleable,?>> getCssMetaData()
AbstractAxisParametergetCssMetaData in interface StyleablegetCssMetaData in class AbstractAxisParameterpublic double getDisplayPosition(double value)
getDisplayPosition in interface AxisgetDisplayPosition in class AbstractAxisvalue - The data value to work out display position forpublic LogAxisType getLogAxisType()
public double getTickUnit()
getTickUnit in interface AxisgetTickUnit in class AbstractAxisParameterpublic TickUnitSupplier getTickUnitSupplier()
tickUnitSupplierProperty().public double getValueForDisplay(double displayPosition)
displayPosition - A pixel position on this axispublic double getZeroPosition()
getZeroPosition in interface AxisgetZeroPosition in class AbstractAxispublic boolean isForceZeroInRange()
forceZeroInRangeProperty().public boolean isLogAxis()
Axispublic boolean isValueOnAxis(double value)
isValueOnAxis in interface AxisisValueOnAxis in class AbstractAxisvalue - The value to check if its on axispublic void setAutoRangePadding(double padding)
autoRangePaddingProperty()setAutoRangePadding in class AbstractAxisParameterpadding - padding factorpublic void setForceZeroInRange(boolean value)
forceZeroInRangeProperty().value - if true, zero is always included in the visible rangeprotected void setRange(AxisRange range, boolean animate)
setRange in class AbstractAxispublic void setTickUnit(double unit)
tickUnitProperty().setTickUnit in interface AxissetTickUnit in class AbstractAxisParameterunit - major tick unitpublic void setTickUnitSupplier(TickUnitSupplier supplier)
tickUnitSupplierProperty().supplier - the tick unit supplier. If null, the default one will be usedpublic DoubleProperty tickUnitProperty()
tickUnitProperty in interface AxistickUnitProperty in class AbstractAxisParametergetTickUnit(),
setTickUnit(double)public ObjectProperty<TickUnitSupplier> tickUnitSupplierProperty()
DefaultTickUnitSupplier.
See TickUnitSupplier for more information about the expected behavior of the strategy.
public static List<CssMetaData<? extends Styleable,?>> getClassCssMetaData()
Copyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.