chart fix for multiple graphs