I have implemented a Gannt chart which:
- it reads data from the database on load
- shows work tasks for the employees
- shows the times when they are supposed to be working on that task
- it is possible to drag and drop between employees and times
Pretty much all features are working well, the issue I am facing is with a pop-up I implemented, where you can also see the task details and change the data.
After the user changes times (for example), and it is posted into the database, I clear the data, I redraw the chart but still the "shadow" task still appears (so duplicated, one with the new data and the other with the previous data).
Only if I reload the page, the final result is ok, but for the application itself it is a "bad" solution.
Any suggestions on what I could be doing wrong?

I am using angular 15.2.8, highcharts 11.1.0 and highcharts-angular 3.1.2.
Thank you,
Carla Lima