#587 Graph labeling issue

Large graph labels could cause wrapping inside the tick tags adding to determine maximum size, adding to svg element instead of html body fixes this issue.