I am currently writing a program which retrieves data from a SQL database and uses the data to populate a pie-chart on a JavaFX scene. So far, this has been a success.
What I am wondering is if it is possible to repopulate and refresh the pie chart as new data is entered into the database. So far the only solution I have found is to close the program and reopen it, which is not really much of a solution.
I can provide my code if needed.
Grateful for any tips you can give, thanks!