chart height and auto resize