when screen rotated chart resized automatically.