Redraw chart on resize new approach

Redraw chart on resize of its container, new approach, this did work
for me.
Missing dot Fixed
Remove console.log when redraw