Package de.gsi.chart.axes.spi
Class NumericAxis
- java.lang.Object
-
- javafx.scene.Node
-
- javafx.scene.Parent
-
- javafx.scene.layout.Region
-
- javafx.scene.layout.Pane
-
- de.gsi.chart.axes.spi.AbstractAxisParameter
-
- de.gsi.chart.axes.spi.AbstractAxis
-
- de.gsi.chart.axes.spi.NumericAxis
-
- All Implemented Interfaces:
Axis,javafx.beans.Observable,javafx.css.Styleable,javafx.event.EventTarget
public final class NumericAxis extends AbstractAxis
A axis class that plots a range of numbers with major tick marks every "tickUnit". You can use any Number type with this axis, Long, Double, BigDecimal etc.Compared to the
NumberAxis, this one has a few additional features:- Re-calculates tick unit also when the
auto-rangingis off - Supports configuration of
auto-range padding - Supports configuration of
auto-range rounding - Supports custom
tick unit suppliers
-
-
Field Summary
-
Fields inherited from class de.gsi.chart.axes.spi.AbstractAxis
animator, autoNotification, cachedOffset, currentLowerBound, labelOverlap, listeners, lock, maxLabelHeight, maxLabelWidth, RANGE_ANIMATION_DURATION_MS, tickMarkDoubleCache, tickMarkSizeCache, tickMarkStringCache
-
Fields inherited from class de.gsi.chart.axes.spi.AbstractAxisParameter
autoRange, axisLabel, DEFAULT_MINOR_TICK_COUNT, isInvertedAxis, isTimeAxis, lowerBound, majorTickMarks, majorTickStyle, measureInvalid, minorTickMarkValues, minorTickStyle, oldAxisLength, rangeValid, scaleBinding, tickLabelRotation, tickLabelsVisibleInvalid, upperBound, userRange
-
-
Constructor Summary
Constructors Constructor Description NumericAxis()Creates anauto-rangingAxis.NumericAxis(double lowerBound, double upperBound, double tickUnit)Creates anon-auto-rangingAxis with the given upper bound, lower bound and tick unit.NumericAxis(java.lang.String axisLabel, double lowerBound, double upperBound, double tickUnit)Create anon-auto-rangingAxis with the given upper bound, lower bound and tick unit.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AxisRangeautoRange(double minValue, double maxValue, double length, double labelSize)javafx.beans.property.DoublePropertyautoRangePaddingProperty()Fraction of the range to be applied as padding on both sides of the axis range.protected java.util.List<java.lang.Double>calculateMajorTickValues(double axisLength, AxisRange range)Calculate a list of all the data values for each tick mark in rangeprotected java.util.List<java.lang.Double>calculateMinorTickValues()Calculate a list of the data values for every minor tick markdoublecomputePreferredTickUnit(double axisLength)Computes the preferred tick unit based on the upper/lower bounds and the length of the axis in screen coordinates.protected AxisRangecomputeRange(double min, double max, double axisLength, double labelSize)Computes range of this axis, similarly toAbstractAxis.autoRange(double, double, double, double).javafx.beans.property.BooleanPropertyforceZeroInRangeProperty()Whentruezero is always included in the visible range.doublegetAutoRangePadding()Returns the value of theautoRangePaddingProperty().protected AxisRangegetAxisRange()AxisTransformgetAxisTransform()static java.util.List<javafx.css.CssMetaData<? extends javafx.css.Styleable,?>>getClassCssMetaData()java.util.List<javafx.css.CssMetaData<? extends javafx.css.Styleable,?>>getCssMetaData()doublegetDisplayPosition(double value)Get the display position along this axis for a given value.LogAxisTypegetLogAxisType()doublegetTickUnit()Returns tick unit value expressed in data units.TickUnitSuppliergetTickUnitSupplier()Returns the value of thetickUnitSupplierProperty().doublegetValueForDisplay(double displayPosition)Get the data value for the given display position on this axis.doublegetZeroPosition()Get the display position of the zero line along this axis.booleanisForceZeroInRange()Returns the value of theforceZeroInRangeProperty().booleanisLogAxis()This is true when the axis implements a log scalebooleanisValueOnAxis(double value)Checks if the given value is plottable on this axisvoidsetAutoRangePadding(double padding)Sets the value of theautoRangePaddingProperty()voidsetForceZeroInRange(boolean value)Sets the value of theforceZeroInRangeProperty().protected voidsetRange(AxisRange range, boolean animate)voidsetTickUnit(double unit)Sets the value of thetickUnitProperty().voidsetTickUnitSupplier(TickUnitSupplier supplier)Sets the value of thetickUnitSupplierProperty().javafx.beans.property.DoublePropertytickUnitProperty()The value between each major tick mark in data units.javafx.beans.property.ObjectProperty<TickUnitSupplier>tickUnitSupplierProperty()Strategy to compute major tick unit when auto-range is on or when axis bounds change.-
Methods inherited from class de.gsi.chart.axes.spi.AbstractAxis
addListener, autoRange, axisLabelFormatterProperty, calculateNewScale, clearAxisCanvas, computePrefHeight, computePrefWidth, computeTickMarks, drawAxis, drawAxisLabel, drawAxisLabel, drawAxisLine, drawAxisPost, drawAxisPre, drawTickLabels, drawTickMarkLabel, drawTickMarks, executeFireInvalidated, fireInvalidated, forceRedraw, getAxisLabelFormatter, getCanvas, getGraphicsContext, getMaxTickLabelHeight, getMaxTickLabelWidth, getNewTickMark, getTickMarkLabel, invalidateRange, invalidateRange, isAutoNotification, isLabelOverlapping, isRangeValid, layoutChildren, measureTickMarkLength, recomputeTickMarks, recomputeTickMarks, removeListener, requestAxisLayout, setAutoNotifaction, setAxisLabelFormatter, setLowerBound, setUpperBound, shouldAnimate, tickMarksUpdated, updateCachedVariables
-
Methods inherited from class de.gsi.chart.axes.spi.AbstractAxisParameter
animatedProperty, animationDurationProperty, autoGrowRangingProperty, autoRangeRoundingProperty, autoRangingProperty, autoUnitScalingProperty, axisLabelGapProperty, axisLabelTextAlignmentProperty, axisPaddingProperty, centerAxisPositionProperty, decadeRange, getaAxisLabelTextAlignment, getAnimated, getAnimationDuration, getAutoRange, getAutoUnitScaling, getAxisLabel, getAxisLabelGap, getAxisPadding, getCenterAxisPosition, getLabel, getLength, getLowerBound, getMajorTickStyle, getMinorTickCount, getMinorTickLength, getMinorTickMarks, getMinorTickStyle, getOverlapPolicy, getRange, getScale, getSide, getTickLabelFill, getTickLabelFont, getTickLabelFormatter, getTickLabelGap, getTickLabelRotation, getTickLength, getTickMarks, getUnit, getUnitScaling, getUpperBound, getUserRange, invertAxis, invertAxisProperty, isAutoGrowRanging, isAutoRangeRounding, isAutoRanging, isInvertedAxis, isMinorTickVisible, isTickLabelsVisible, isTickMarkVisible, isTimeAxis, labelProperty, lowerBoundProperty, minorTickCountProperty, minorTickLengthProperty, minorTickVisibleProperty, overlapPolicyProperty, scaleProperty, setAnimated, setAnimationDuration, setAutoGrowRanging, setAutoRangeRounding, setAutoRanging, setAutoUnitScaling, setAxisCentrePosition, setAxisLabelAlignment, setAxisLabelGap, setAxisPadding, setLabel, setMinorTickCount, setMinorTickLength, setMinorTickVisible, 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, updateScaleAndUnitPrefix, upperBoundProperty
-
Methods inherited from class javafx.scene.layout.Region
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getUserAgentStylesheet, getWidth, heightProperty, 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, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, snapToPixelProperty, widthProperty
-
Methods inherited from class javafx.scene.Parent
getBaselineOffset, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, queryAccessibleAttribute, requestLayout, requestParentLayout, setNeedsLayout, updateBounds
-
Methods inherited from class javafx.scene.Node
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, 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, getInitialCursor, getInitialFocusTraversable, 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, getViewOrder, hasProperties, hoverProperty, idProperty, 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, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visibleProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.gsi.chart.axes.Axis
autoGrowRangingProperty, autoRangingProperty, autoUnitScalingProperty, getAutoRange, getAutoUnitScaling, getHeight, getLabel, getLength, getLowerBound, getMinorTickCount, getMinorTickMarks, getRange, getSide, getTickLabelFill, getTickLabelFont, getTickLabelFormatter, getTickLabelGap, getTickMarks, getUnit, getUnitScaling, getUpperBound, getUserRange, getWidth, invertAxis, invertAxisProperty, isAutoGrowRanging, isAutoRanging, isInvertedAxis, isTimeAxis, labelProperty, lowerBoundProperty, setAnimated, setAutoGrowRanging, setAutoRanging, setAutoUnitScaling, setLabel, setSide, setTimeAxis, setUnit, setUnitScaling, setUnitScaling, sideProperty, timeAxisProperty, unitProperty, unitScalingProperty, upperBoundProperty
-
-
-
-
Constructor Detail
-
NumericAxis
public NumericAxis()
Creates anauto-rangingAxis.
-
NumericAxis
public NumericAxis(double lowerBound, double upperBound, double tickUnit)Creates anon-auto-rangingAxis with the given upper bound, lower bound and tick unit.- Parameters:
lowerBound- thelower boundof the axisupperBound- theupper boundof the axistickUnit- the tick unit, i.e. space between tick marks
-
NumericAxis
public NumericAxis(java.lang.String axisLabel, double lowerBound, double upperBound, double tickUnit)Create anon-auto-rangingAxis with the given upper bound, lower bound and tick unit.- Parameters:
axisLabel- the axislabellowerBound- thelower boundof the axisupperBound- theupper boundof the axistickUnit- the tick unit, i.e. space between tick marks
-
-
Method Detail
-
forceZeroInRangeProperty
public javafx.beans.property.BooleanProperty forceZeroInRangeProperty()
Whentruezero is always included in the visible range. This only has effect ifauto-rangingis on.- Returns:
- forceZeroInRange property
-
isForceZeroInRange
public boolean isForceZeroInRange()
Returns the value of theforceZeroInRangeProperty().- Returns:
- value of the forceZeroInRange property
-
setForceZeroInRange
public void setForceZeroInRange(boolean value)
Sets the value of theforceZeroInRangeProperty().- Parameters:
value- iftrue, zero is always included in the visible range
-
autoRangePaddingProperty
public javafx.beans.property.DoubleProperty autoRangePaddingProperty()
Fraction of the range to be applied as padding on both sides of the axis range. E.g. if set to 0.1 (10%) on axis with data range [10, 20], the new automatically calculated range will be [9, 21].- Overrides:
autoRangePaddingPropertyin classAbstractAxisParameter- Returns:
- autoRangePadding property
-
getAutoRangePadding
public double getAutoRangePadding()
Returns the value of theautoRangePaddingProperty().- Overrides:
getAutoRangePaddingin classAbstractAxisParameter- Returns:
- the auto range padding
-
setAutoRangePadding
public void setAutoRangePadding(double padding)
Sets the value of theautoRangePaddingProperty()- Overrides:
setAutoRangePaddingin classAbstractAxisParameter- Parameters:
padding- padding factor
-
tickUnitProperty
public javafx.beans.property.DoubleProperty tickUnitProperty()
The value between each major tick mark in data units. This is automatically set if we are auto-ranging.- Specified by:
tickUnitPropertyin interfaceAxis- Overrides:
tickUnitPropertyin classAbstractAxisParameter- Returns:
- tickUnit property
-
getTickUnit
public double getTickUnit()
Returns tick unit value expressed in data units.- Specified by:
getTickUnitin interfaceAxis- Overrides:
getTickUnitin classAbstractAxisParameter- Returns:
- major tick unit value
-
setTickUnit
public void setTickUnit(double unit)
Sets the value of thetickUnitProperty().- Specified by:
setTickUnitin interfaceAxis- Overrides:
setTickUnitin classAbstractAxisParameter- Parameters:
unit- major tick unit
-
tickUnitSupplierProperty
public javafx.beans.property.ObjectProperty<TickUnitSupplier> tickUnitSupplierProperty()
Strategy to compute major tick unit when auto-range is on or when axis bounds change. By default initialized toDefaultTickUnitSupplier.See
TickUnitSupplierfor more information about the expected behavior of the strategy.- Returns:
- tickUnitSupplier property
-
getTickUnitSupplier
public TickUnitSupplier getTickUnitSupplier()
Returns the value of thetickUnitSupplierProperty().- Returns:
- the TickUnitSupplier
-
setTickUnitSupplier
public void setTickUnitSupplier(TickUnitSupplier supplier)
Sets the value of thetickUnitSupplierProperty().- Parameters:
supplier- the tick unit supplier. Ifnull, the default one will be used
-
setRange
protected void setRange(AxisRange range, boolean animate)
- Overrides:
setRangein classAbstractAxis
-
calculateMajorTickValues
protected java.util.List<java.lang.Double> calculateMajorTickValues(double axisLength, AxisRange range)Description copied from class:AbstractAxisCalculate a list of all the data values for each tick mark in range- Specified by:
calculateMajorTickValuesin classAbstractAxis- Parameters:
axisLength- The length of the axis in display unitsrange- A range object returned from autoRange()- Returns:
- A list of tick marks that fit along the axis if it was the given length
-
calculateMinorTickValues
protected java.util.List<java.lang.Double> calculateMinorTickValues()
Description copied from class:AbstractAxisCalculate a list of the data values for every minor tick mark- Specified by:
calculateMinorTickValuesin classAbstractAxis- Returns:
- List of data values where to draw minor tick marks
-
getAxisRange
protected AxisRange getAxisRange()
- Overrides:
getAxisRangein classAbstractAxis- Returns:
- axsis range that is supposed to be shown
-
autoRange
protected AxisRange autoRange(double minValue, double maxValue, double length, double labelSize)
- Overrides:
autoRangein classAbstractAxis
-
computeRange
protected AxisRange computeRange(double min, double max, double axisLength, double labelSize)
Description copied from class:AbstractAxisComputes range of this axis, similarly toAbstractAxis.autoRange(double, double, double, double). The major difference is that this method is called whenauto-rangeis off.- Specified by:
computeRangein classAbstractAxis- Parameters:
min- 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 axis- Returns:
- The calculated range
- See Also:
AbstractAxis.autoRange(double, double, double, double)
-
computePreferredTickUnit
public double computePreferredTickUnit(double axisLength)
Computes the preferred tick unit based on the upper/lower bounds and the length of the axis in screen coordinates.- Specified by:
computePreferredTickUnitin classAbstractAxis- Parameters:
axisLength- the length in screen coordinates- Returns:
- the tick unit
-
getDisplayPosition
public double getDisplayPosition(double value)
Get the display position along this axis for a given value. If the value is not in the current range, the returned value will be an extrapolation of the display position. -- cached double optimised version (shaves of 50% on delays)- Specified by:
getDisplayPositionin interfaceAxis- Overrides:
getDisplayPositionin classAbstractAxis- Parameters:
value- The data value to work out display position for- Returns:
- display position
-
getValueForDisplay
public double getValueForDisplay(double displayPosition)
Get the data value for the given display position on this axis. If the axis is a CategoryAxis this will be the nearest value. -- cached double optimised version (shaves of 50% on delays)- Parameters:
displayPosition- A pixel position on this axis- Returns:
- the nearest data value to the given pixel position or null if not on axis;
-
getZeroPosition
public double getZeroPosition()
Get the display position of the zero line along this axis.- Specified by:
getZeroPositionin interfaceAxis- Overrides:
getZeroPositionin classAbstractAxis- Returns:
- display position or Double.NaN if zero is not in current range;
-
isValueOnAxis
public boolean isValueOnAxis(double value)
Checks if the given value is plottable on this axis- Specified by:
isValueOnAxisin interfaceAxis- Overrides:
isValueOnAxisin classAbstractAxis- Parameters:
value- The value to check if its on axis- Returns:
- true if the given value is plottable on this axis
-
getClassCssMetaData
public static java.util.List<javafx.css.CssMetaData<? extends javafx.css.Styleable,?>> getClassCssMetaData()
-
getCssMetaData
public java.util.List<javafx.css.CssMetaData<? extends javafx.css.Styleable,?>> getCssMetaData()
Description copied from class:AbstractAxisParameter- Specified by:
getCssMetaDatain interfacejavafx.css.Styleable- Overrides:
getCssMetaDatain classAbstractAxisParameter
-
isLogAxis
public boolean isLogAxis()
Description copied from interface:AxisThis is true when the axis implements a log scale- Returns:
- true if axis is log scale
-
getLogAxisType
public LogAxisType getLogAxisType()
- Returns:
- given linear and/or logarithmic (+ sub-type, e.g. log10, dB20, ...) axis types
-
getAxisTransform
public AxisTransform getAxisTransform()
-
-