switch chart to float