kauron/estraba
Archived
1
0
Fork 0

Moved PieChart property to fxml

This commit is contained in:
Carlos Galindo 2016-05-19 23:40:29 +02:00
parent 389499230d
commit 307c78deac
Signed by: kauron
GPG key ID: 83E68706DEE119A3
2 changed files with 1 additions and 2 deletions

View file

@ -199,7 +199,6 @@ public class DashboardController implements Initializable, MapComponentInitializ
} }
} }
if (!pieFound) zoneChart.getData().add( new PieChart.Data(zone, 1) ); if (!pieFound) zoneChart.getData().add( new PieChart.Data(zone, 1) );
zoneChart.setStartAngle(90);
} }
// populate the charts // populate the charts

View file

@ -187,7 +187,7 @@
</VBox> </VBox>
</HBox> </HBox>
</VBox> </VBox>
<PieChart fx:id="zoneChart" labelsVisible="false" legendVisible="true" minHeight="-Infinity" minWidth="-Infinity" prefHeight="300.0" prefWidth="360.0" HBox.hgrow="ALWAYS"> <PieChart fx:id="zoneChart" labelsVisible="false" startAngle="90" legendVisible="true" minHeight="-Infinity" minWidth="-Infinity" prefHeight="300.0" prefWidth="360.0" HBox.hgrow="ALWAYS">
</PieChart> </PieChart>
<VBox layoutX="15.0" layoutY="15.0" minHeight="360.0" minWidth="300.0" prefHeight="300.0"> <VBox layoutX="15.0" layoutY="15.0" minHeight="360.0" minWidth="300.0" prefHeight="300.0">
<HBox alignment="CENTER" layoutX="10.0" layoutY="10.0" minHeight="-Infinity" minWidth="-Infinity" prefHeight="90.0" prefWidth="200.0" HBox.hgrow="ALWAYS" VBox.vgrow="ALWAYS"> <HBox alignment="CENTER" layoutX="10.0" layoutY="10.0" minHeight="-Infinity" minWidth="-Infinity" prefHeight="90.0" prefWidth="200.0" HBox.hgrow="ALWAYS" VBox.vgrow="ALWAYS">