Made charts work with static data