@Override public void start(Stage stage) {
        StackPane pane = new StackPane(tile);
        pane.setPadding(new Insets(10));

        Scene scene = new Scene(pane);

        stage.setTitle("Test");
        stage.setScene(scene);
        stage.show();

        List<BarChartItem> items = new ArrayList<>();
        items.add(new BarChartItem("JDK17", 14, Tile.BLUE));
        items.add(new BarChartItem("JDK11", 23, Tile.BLUE));
        items.add(new BarChartItem("JDK8", 10, Tile.BLUE));
        Platform.runLater(() -> {
            tile.setBarChartItems(items);
        });

        // Calculate number of nodes
        calcNoOfNodes(pane);
        System.out.println(noOfNodes + " Nodes in SceneGraph");

        //timer.start();
    }
Just an internal class for testing the library
User: hansolo
Date: 13.10.17
Time: 14:52
src/main/java/eu/hansolo/tilesfx/Test.java