Package de.gsi.chart.utils
Class XYChartUtils
- java.lang.Object
-
- de.gsi.chart.utils.XYChartUtils
-
public final class XYChartUtils extends java.lang.Object- Author:
- braeun
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ChartgetChart(javafx.scene.Node chartChildNode)Returns Chart instance containing given child node.static javafx.scene.layout.RegiongetChartContent(Chart chart)static java.util.List<javafx.scene.control.Label>getChildLabels(java.util.List<? extends javafx.scene.Parent> parents)static doublegetHorizontalInsets(javafx.geometry.Insets insets)static javafx.scene.layout.PanegetLegend(XYChart chart)static doublegetLocationX(javafx.scene.Node node)static doublegetLocationY(javafx.scene.Node node)static javafx.scene.NodegetPlotContent(XYChart chart)static doublegetVerticalInsets(javafx.geometry.Insets insets)
-
-
-
Method Detail
-
getLocationX
public static double getLocationX(javafx.scene.Node node)
-
getLocationY
public static double getLocationY(javafx.scene.Node node)
-
getChartContent
public static javafx.scene.layout.Region getChartContent(Chart chart)
-
getPlotContent
public static javafx.scene.Node getPlotContent(XYChart chart)
-
getLegend
public static javafx.scene.layout.Pane getLegend(XYChart chart)
-
getHorizontalInsets
public static double getHorizontalInsets(javafx.geometry.Insets insets)
-
getVerticalInsets
public static double getVerticalInsets(javafx.geometry.Insets insets)
-
getChart
public static Chart getChart(javafx.scene.Node chartChildNode)
Returns Chart instance containing given child node.- Parameters:
chartChildNode- the node contained within the chart- Returns:
- chart or
nullif the node does not belong to chart
-
getChildLabels
public static java.util.List<javafx.scene.control.Label> getChildLabels(java.util.List<? extends javafx.scene.Parent> parents)
-
-