xml version encoding UTF-8 import javafx scene chart LineChart import

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.chart.LineChart?>
<?import javafx.scene.chart.NumberAxis?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.layout.*?>
<GridPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0"
prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="GraphControl">
<columnConstraints>
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0"/>
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" vgrow="SOMETIMES"/>
<RowConstraints minHeight="40.0" vgrow="NEVER"/>
</rowConstraints>
<children>
<LineChart fx:id="lineChart" legendVisible="false">
<xAxis>
<NumberAxis side="BOTTOM" fx:id="xAxis"/>
</xAxis>
<yAxis>
<NumberAxis fx:id="yAxis" autoRanging="false" lowerBound="0.0" side="LEFT" tickUnit="0.1"
upperBound="1.05"/>
</yAxis>
</LineChart>
<Button fx:id="exportButton" disable="true" mnemonicParsing="false" onAction="#export" text="Экспорт в CSV"
GridPane.rowIndex="1"/>
</children>
</GridPane>