dataPanel.fxml 1.49 KB
<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.chart.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>

<AnchorPane prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8.0.241" xmlns:fx="http://javafx.com/fxml/1" fx:controller="application.controller.DataPanelController">
    <SplitPane dividerPositions="0.1705685618729097" prefHeight="212.0" prefWidth="254.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
        <ListView fx:id="dataListView" layoutX="-73.0" layoutY="14.0" prefHeight="200.0" prefWidth="200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
        <StackPane prefHeight="150.0" prefWidth="200.0">
            <ScatterChart fx:id="scatterChartNumber">
                <xAxis>
                    <CategoryAxis side="BOTTOM" fx:id="xaxisNumber" />
                </xAxis>
                <yAxis>
                    <NumberAxis fx:id="yaxisNumber" side="LEFT" />
                </yAxis>
            </ScatterChart>
            <ScatterChart fx:id="scatterChartCategory" visible="false">
                <xAxis>
                    <CategoryAxis side="BOTTOM" fx:id="xaxisCategory" />
                </xAxis>
                <yAxis>
                    <CategoryAxis fx:id="yaxisCategory" side="LEFT" />
                </yAxis>
            </ScatterChart>
        </StackPane>
    </SplitPane>
</AnchorPane>