X
- Type of horizontal (X) axis.Y
- Type of vertical (Y) axis.@DefaultProperty(value="layers")
public class MultiXYChart<X,Y>
extends javafx.scene.layout.VBox
false
and
proper lower/upper bounds should be set.Modifier and Type | Class and Description |
---|---|
static class |
MultiXYChart.XYChartLayer<X,Y>
To properly maintain Y-axis ranges between multiple Y-axes, proper lower/upper bounds
should be set for Y-axes before creating chart layers.
|
Constructor and Description |
---|
MultiXYChart() |
MultiXYChart(boolean pDistinctStrokes,
boolean pClosestToMouseMarkerAmongAllSeries) |
MultiXYChart(Double pStrokeWidth) |
MultiXYChart(Double pStrokeWidth,
boolean pDistinctStrokes,
boolean pClosestToMouseMarkerAmongAllSeries) |
Modifier and Type | Method and Description |
---|---|
void |
autoRange() |
void |
autoRangeX() |
void |
autoRangeY() |
javafx.beans.property.BooleanProperty |
autoRangingProperty() |
javafx.beans.property.BooleanProperty |
autoTrimmingTickLabelFormattingProperty() |
javafx.beans.property.ObjectProperty<ClosestDataPointFunction<X,Y>> |
closestDataPointFunctionProperty() |
javafx.beans.property.ObjectProperty<Function<javafx.scene.chart.XYChart.Data<X,Y>,String>> |
closestToMouseStringConverterProperty() |
javafx.beans.value.ObservableValue<javafx.geometry.Insets> |
contentInsets()
Insets that define location of chart content.
|
void |
dispose() |
javafx.collections.ObservableList<javafx.scene.chart.Axis<?>> |
getAlternateSideAxes() |
ClosestDataPointFunction<X,Y> |
getClosestDataPointFunction() |
javafx.collections.ObservableList<javafx.beans.property.ReadOnlyObjectProperty<javafx.scene.chart.XYChart.Data<X,Y>>> |
getClosestToMousePoints() |
Function<javafx.scene.chart.XYChart.Data<X,Y>,String> |
getClosestToMouseStringConverter() |
javafx.geometry.Insets |
getContentInsets() |
javafx.collections.ObservableList<MultiXYChart.XYChartLayer<? extends X,? extends Y>> |
getLayers()
List of layers that make up chart.
|
boolean |
getSnapToClosestPoint() |
double |
getXAxisLowerBound() |
double |
getXAxisUpperBound() |
double |
getYAxisLowerBound() |
double |
getYAxisUpperBound() |
boolean |
isAutoRanging() |
boolean |
isAutoTrimmingTickLabelFormatting() |
boolean |
isLegendVisible() |
javafx.beans.property.BooleanProperty |
legendVisibleProperty() |
void |
setAutoRanging(boolean pAutoRanging) |
void |
setAutoTrimmingTickLabelFormatting(boolean pAutoTrimmingTickLabelFormatting) |
void |
setClosestDataPointFunction(ClosestDataPointFunction<X,Y> pClosestDataPointFunction) |
void |
setClosestToMouseStringConverter(Function<javafx.scene.chart.XYChart.Data<X,Y>,String> pStringConverter) |
void |
setLegendVisible(boolean pVisible) |
void |
setSnapToClosestPoint(boolean pSnap) |
javafx.beans.property.BooleanProperty |
snapToClosestPointProperty() |
javafx.beans.property.ReadOnlyDoubleProperty |
xAxisLowerBoundProperty() |
javafx.beans.property.ReadOnlyDoubleProperty |
xAxisUpperBoundProperty() |
javafx.beans.property.ReadOnlyDoubleProperty |
yAxisLowerBoundProperty() |
javafx.beans.property.ReadOnlyDoubleProperty |
yAxisUpperBoundProperty() |
alignmentProperty, clearConstraints, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, fillWidthProperty, getAlignment, getClassCssMetaData, getContentBias, getCssMetaData, getMargin, getSpacing, getVgrow, isFillWidth, layoutChildren, requestLayout, setAlignment, setFillWidth, setMargin, setSpacing, setVgrow, spacingProperty
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, computeMaxHeight, computeMaxWidth, 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, widthProperty
getBaselineOffset, getChildrenUnmodifiable, getImpl_traversalEngine, getManagedChildren, getStylesheets, impl_getAllParentStylesheets, impl_processCSS, impl_processMXNode, impl_traversalEngineProperty, isNeedsLayout, layout, lookup, needsLayoutProperty, queryAccessibleAttribute, requestParentLayout, setImpl_traversalEngine, setNeedsLayout, updateBounds
accessibleHelpProperty, 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, 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, visibleProperty
public MultiXYChart()
public MultiXYChart(Double pStrokeWidth)
public MultiXYChart(boolean pDistinctStrokes, boolean pClosestToMouseMarkerAmongAllSeries)
pDistinctStrokes
- If true
, series lines of a layer will have distinct
strokes and each layer will have distinct color for series lines. Otherwise, series
lines of a layer will have distinct colors and each layer will have distinct stroke.public MultiXYChart(Double pStrokeWidth, boolean pDistinctStrokes, boolean pClosestToMouseMarkerAmongAllSeries)
pDistinctStrokes
- If true
, series lines of a layer will have distinct
strokes and each layer will have distinct color for series lines. Otherwise, series
lines of a layer will have distinct colors and each layer will have distinct stroke.public final javafx.beans.value.ObservableValue<javafx.geometry.Insets> contentInsets()
public final javafx.geometry.Insets getContentInsets()
public final javafx.beans.property.BooleanProperty autoRangingProperty()
public final boolean isAutoRanging()
public final void setAutoRanging(boolean pAutoRanging)
public final javafx.beans.property.BooleanProperty autoTrimmingTickLabelFormattingProperty()
public final boolean isAutoTrimmingTickLabelFormatting()
public final void setAutoTrimmingTickLabelFormatting(boolean pAutoTrimmingTickLabelFormatting)
public final javafx.beans.property.BooleanProperty snapToClosestPointProperty()
public final boolean getSnapToClosestPoint()
public final void setSnapToClosestPoint(boolean pSnap)
public final javafx.beans.property.ReadOnlyDoubleProperty xAxisLowerBoundProperty()
public final double getXAxisLowerBound()
public final javafx.beans.property.ReadOnlyDoubleProperty xAxisUpperBoundProperty()
public final double getXAxisUpperBound()
public final javafx.beans.property.ReadOnlyDoubleProperty yAxisLowerBoundProperty()
public final double getYAxisLowerBound()
public final javafx.beans.property.ReadOnlyDoubleProperty yAxisUpperBoundProperty()
public final double getYAxisUpperBound()
public final javafx.beans.property.BooleanProperty legendVisibleProperty()
public final boolean isLegendVisible()
public final void setLegendVisible(boolean pVisible)
public final javafx.beans.property.ObjectProperty<Function<javafx.scene.chart.XYChart.Data<X,Y>,String>> closestToMouseStringConverterProperty()
public final Function<javafx.scene.chart.XYChart.Data<X,Y>,String> getClosestToMouseStringConverter()
public final void setClosestToMouseStringConverter(Function<javafx.scene.chart.XYChart.Data<X,Y>,String> pStringConverter)
public final javafx.beans.property.ObjectProperty<ClosestDataPointFunction<X,Y>> closestDataPointFunctionProperty()
public final ClosestDataPointFunction<X,Y> getClosestDataPointFunction()
public final void setClosestDataPointFunction(ClosestDataPointFunction<X,Y> pClosestDataPointFunction)
public final javafx.collections.ObservableList<MultiXYChart.XYChartLayer<? extends X,? extends Y>> getLayers()
public final javafx.collections.ObservableList<javafx.scene.chart.Axis<?>> getAlternateSideAxes()
public javafx.collections.ObservableList<javafx.beans.property.ReadOnlyObjectProperty<javafx.scene.chart.XYChart.Data<X,Y>>> getClosestToMousePoints()
public void autoRange()
public void autoRangeX()
public void autoRangeY()
public void dispose()
Copyright © 2023. All rights reserved.