Great job finding a solution!
Using the redraw event to refresh the data table by toggling its visibility is a clever approach. It's nice to see you were able to get it working as you wanted.
If you have any more questions or need further assistance, feel free to reach out.
Happy charting!