Skip to content

Commit

Permalink
Some chart improvments
Browse files Browse the repository at this point in the history
  • Loading branch information
tainfante committed Dec 23, 2017
1 parent ddc658b commit f65ff20
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 67 deletions.
56 changes: 0 additions & 56 deletions src/classes/GenerateData.java

This file was deleted.

10 changes: 0 additions & 10 deletions src/mainwindow/Chart.java
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
package mainwindow;

import classes.DateAxis;
import classes.GenerateData;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.chart.*;
import javafx.scene.control.CheckBox;
import javafx.scene.control.ChoiceBox;
import plot.Plot;

import java.net.URL;
import java.util.Calendar;
import java.util.Date;
import java.util.ResourceBundle;

Expand Down Expand Up @@ -73,10 +69,4 @@ public void initialize(URL location, ResourceBundle resources) {

}

public void onGenerateData(ActionEvent actionEvent) {
//Do usuniecia
GenerateData.getInstance().startGenerating();
Plot.getInstance().startPlotting();
//Koniec
}
}
1 change: 0 additions & 1 deletion src/mainwindow/chart.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
<bottom>
<HBox spacing="10.0" styleClass="background">
<children>
<Button onAction="#onGenerateData" />
<Label text="Show data from last:" />
<ChoiceBox prefWidth="150.0" fx:id="timeBox" />
</children>
Expand Down

0 comments on commit f65ff20

Please sign in to comment.