remove chart panel and resie chart to available size