Chart Panel Part 2
-- Refreshes stuff when switching to the tab