summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-11-01 22:57:47 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-11-01 23:14:11 +0100
commit95168f7d55181475946ad93db30255c4d709df03 (patch)
tree39229b365c1e152822029967adf4591a77d53c6d /network
parentf69157a66ffe413b4cf8bd79057487fc8921e78b (diff)
analyze: plot: place the text on the side with most space
Set the width of the svg to always fit the longest string while taking its starting position into consideration. Place the text on the right while the starting point is in the first half of the screen. After that we put it on the left to save the svg from being wider that it has to.
Diffstat (limited to 'network')
0 files changed, 0 insertions, 0 deletions