From 307c78deac67387106cb0df586a5db573dc317cd Mon Sep 17 00:00:00 2001 From: Carlos Galindo Date: Thu, 19 May 2016 23:40:29 +0200 Subject: [PATCH] Moved PieChart property to fxml --- .../java/es/kauron/estraba/controller/DashboardController.java | 1 - src/main/resources/es/kauron/estraba/fxml/Dashboard.fxml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/es/kauron/estraba/controller/DashboardController.java b/src/main/java/es/kauron/estraba/controller/DashboardController.java index 790ea52..a150d23 100644 --- a/src/main/java/es/kauron/estraba/controller/DashboardController.java +++ b/src/main/java/es/kauron/estraba/controller/DashboardController.java @@ -199,7 +199,6 @@ public class DashboardController implements Initializable, MapComponentInitializ } } if (!pieFound) zoneChart.getData().add( new PieChart.Data(zone, 1) ); - zoneChart.setStartAngle(90); } // populate the charts diff --git a/src/main/resources/es/kauron/estraba/fxml/Dashboard.fxml b/src/main/resources/es/kauron/estraba/fxml/Dashboard.fxml index 55813f5..bec6f5e 100644 --- a/src/main/resources/es/kauron/estraba/fxml/Dashboard.fxml +++ b/src/main/resources/es/kauron/estraba/fxml/Dashboard.fxml @@ -187,7 +187,7 @@ - +