Skip to content

Commit

Permalink
Standardize pir chart label
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdiluxedbutcooler committed Nov 7, 2024
1 parent 568aae4 commit a2cb881
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/seedu/address/ui/StatusPieChart.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ public void updateChartData(int naCount, int nonUrgentCount, int urgentCount) {
Platform.runLater(() -> {
statusChart.getData().clear();

PieChart.Data naData = new PieChart.Data("N.A. (" + naCount + ")", naCount);
PieChart.Data nonUrgentData = new PieChart.Data("Non-Urgent (" + nonUrgentCount + ")", nonUrgentCount);
PieChart.Data naData = new PieChart.Data("NA (" + naCount + ")", naCount);
PieChart.Data nonUrgentData = new PieChart.Data("Non_Urgent (" + nonUrgentCount + ")", nonUrgentCount);
PieChart.Data urgentData = new PieChart.Data("Urgent (" + urgentCount + ")", urgentCount);

ObservableList<PieChart.Data> pieChartData = FXCollections.observableArrayList(
Expand Down

0 comments on commit a2cb881

Please sign in to comment.