This commit is contained in:
Andrew Lalis 2024-06-07 08:55:49 -04:00
parent 28002fd32d
commit e08c528b71
1 changed files with 1 additions and 4 deletions

View File

@ -4,7 +4,6 @@ import com.andrewlalis.perfin.data.AccountRepository;
import com.andrewlalis.perfin.data.TimestampRange; import com.andrewlalis.perfin.data.TimestampRange;
import com.andrewlalis.perfin.data.util.ColorUtil; import com.andrewlalis.perfin.data.util.ColorUtil;
import com.andrewlalis.perfin.model.Profile; import com.andrewlalis.perfin.model.Profile;
import com.andrewlalis.perfin.view.BindingUtil;
import javafx.application.Platform; import javafx.application.Platform;
import javafx.collections.FXCollections; import javafx.collections.FXCollections;
import javafx.collections.ObservableList; import javafx.collections.ObservableList;
@ -70,9 +69,7 @@ public abstract class PieChartModule extends DashboardModule {
chartData.clear(); chartData.clear();
} }
}); });
timeRangeChoiceBox.valueProperty().addListener((observable, oldValue, newValue) -> { timeRangeChoiceBox.valueProperty().addListener((observable, oldValue, newValue) -> renderChart());
renderChart();
});
} }
@Override @Override