Flip for chart is now working properly!