Class 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 Chart getChart​(javafx.scene.Node chartChildNode)
      Returns Chart instance containing given child node.
      static javafx.scene.layout.Region getChartContent​(Chart chart)  
      static java.util.List<javafx.scene.control.Label> getChildLabels​(java.util.List<? extends javafx.scene.Parent> parents)  
      static double getHorizontalInsets​(javafx.geometry.Insets insets)  
      static javafx.scene.layout.Pane getLegend​(XYChart chart)  
      static double getLocationX​(javafx.scene.Node node)  
      static double getLocationY​(javafx.scene.Node node)  
      static javafx.scene.Node getPlotContent​(XYChart chart)  
      static double getVerticalInsets​(javafx.geometry.Insets insets)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 null if 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)