prevent unnecessary chart redraws