Clearing cart resets chart type to line chart