The intention for updateSize()
is something like "I changed the size of the container behind your back, please check if everything is ok", it should not change what the user has done in the chart (like selection, navigation etc.).
For example, if you maximize the chart and then restore the previous window size, the view of the chart should not have changed whenever possible. However, as the view adapts to the size of the chart it becomes harder (once the view zooms-out, it becomes problematic deciding to which area should it zoom back in).