UI Defined List of Modifiable Chart Titles

I would like to be able to specify chart titles and data labels through the UI, and also have the titles/labels saved between redeploys or restarts. What would be an efficient method of storing variables/constants that can be modified on the UI-side, while also saving the values between redeploys? I was recently reading into environment variables, but am unsure if they are what I am looking for. I am also unsure how to format a "config" or "labels" file that would store the last input values + supply the charts/graphs with their desired titles/labels. What should read into to help me find a solution for this?

Additionally, I would like the entry fields to populate themselves with the current values - is there any method to have a form node populate the current values of what can be modified through the entry fields?