- using chart.setSize for resize

much more efficient than recreating chart on every resize