diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2013-11-01 22:57:47 +0100 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2013-11-01 23:14:11 +0100 |
commit | 95168f7d55181475946ad93db30255c4d709df03 (patch) | |
tree | 39229b365c1e152822029967adf4591a77d53c6d /network | |
parent | f69157a66ffe413b4cf8bd79057487fc8921e78b (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