fix svg charts resizing