Skip to content

Commit

Permalink
Default only show latest data
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayyy committed Aug 5, 2022
1 parent d4aecb0 commit b7d0710
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/uorocketry/basestation/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public class Main implements ComponentListener, ChangeListener, ActionListener,
boolean ignoreSelections = false;

/** If true, it will show the latest data instead of showing a subset of all data */
boolean onlyShowLatestData = false;
boolean onlyShowLatestData = true;

/** If true, clicking on data in a chart will hide it */
public boolean dataDeletionMode = false;
Expand Down
1 change: 1 addition & 0 deletions src/main/java/uorocketry/basestation/Window.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ public Window(Main main, Config config) {
chartDataPointsOptions.setLayout(new BoxLayout(chartDataPointsOptions, BoxLayout.Y_AXIS));

onlyShowLatestDataCheckBox = new JCheckBox("Only Show Latest Data");
onlyShowLatestDataCheckBox.setSelected(true);
chartDataPointsOptions.add(onlyShowLatestDataCheckBox);

maxDataPoints = new JPanel();
Expand Down

0 comments on commit b7d0710

Please sign in to comment.