<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.geometry.Insets?>
<?import javafx.scene.chart.LineChart?>
<?import javafx.scene.chart.NumberAxis?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Tab?>
<?import javafx.scene.control.TabPane?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>

<TabPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" tabClosingPolicy="UNAVAILABLE" xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1">
  <tabs>
      <Tab text="%game.balance.history">
         <content>
            <TableView fx:id="balanceHistoryTable" prefHeight="200.0" prefWidth="200.0">
               <columns>
                  <TableColumn prefWidth="50.666626400416135" styleClass="align-right" text="%game.balance.history.index" />
                  <TableColumn editable="false" maxWidth="500.0" prefWidth="100.0" styleClass="align-right" text="%game.balance.history.change" />
                  <TableColumn maxWidth="1.7976931348623157E308" prefWidth="207.0" text="%game.balance.history.type" />
                  <TableColumn prefWidth="161.0" text="%game.balance.history.product" />
               </columns>
               <placeholder>
                  <Label text="%game.balance.history.no-data" />
               </placeholder>
            </TableView>
         </content>
      </Tab>
      <Tab fx:id="chartTab" text="%game.balance.chart">
         <content>
            <VBox>
               <children>
                  <HBox fillHeight="false" maxWidth="1.7976931348623157E308" styleClass="tab-info-bar">
                     <children>
                        <Label fx:id="totalIncomeLabel" styleClass="green" text="Label">
                           <font>
                              <Font size="14.0" />
                           </font>
                           <HBox.margin>
                              <Insets right="20.0" />
                           </HBox.margin>
                        </Label>
                        <Label fx:id="totalLossLabel" styleClass="red" text="Label">
                           <font>
                              <Font size="14.0" />
                           </font>
                        </Label>
                     </children>
                     <padding>
                        <Insets bottom="5.0" left="20.0" right="20.0" top="5.0" />
                     </padding>
                  </HBox>
                  <LineChart fx:id="budgetChart" verticalGridLinesVisible="false">
                     <xAxis>
                        <NumberAxis minorTickVisible="false" side="BOTTOM" tickLabelsVisible="false" tickMarkVisible="false" />
                     </xAxis>
                     <yAxis>
                        <NumberAxis side="LEFT" />
                     </yAxis>
                  </LineChart>
               </children>
            </VBox>
         </content>
      </Tab>
  </tabs>
</TabPane>
