Skip to content

Commit

Permalink
Styling: Aligned similar code
Browse files Browse the repository at this point in the history
  • Loading branch information
MrLukeKR committed Apr 12, 2018
1 parent 8e44780 commit b5e619c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/Default/Controller.java
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@ private void initialiseSimulatorCharts(){
Platform.runLater(() -> simulatorProfitLoss.getData().add(simulatedPortfolioInitialPerformance));
Platform.runLater(() -> simulatorProfitLoss.getData().add(simulatedBalance));
Platform.runLater(() -> simulatorProfitLoss.getData().add(simulatedEqualAllocationPerformance));
Platform.runLater(()->simulatorProfitLoss.getData().add(simulatedRandomPerformance));
Platform.runLater(() -> simulatorProfitLoss.getData().add(simulatedRandomPerformance));
Platform.runLater(() -> simulatorProfitLoss.getData().add(simulatedIndexPerformance));

simulatedPortfolioInitialPerformance.setName("Automated Trader");
Expand All @@ -985,7 +985,7 @@ private void initialiseSimulatorCharts(){
simulatedRandomPerformance.setName("Random Trader");

for(String stock :stocks){
simulatedHistory.put(stock,new XYChart.Series<>());
simulatedHistory.put(stock, new XYChart.Series<>());
final NumberAxis xAxis = new NumberAxis();
final NumberAxis yAxis = new NumberAxis();
yAxis.setTickUnit(1);
Expand Down

0 comments on commit b5e619c

Please sign in to comment.