linked chart to visualization button and work a little on resizing