You should call the updateSize() only when the container is visible. I would recommend calling it using a callback on your tab switching code. You can also use chart.updateSettings({area: {height: height, width: width}}); to manually control the size of the chart.