fixes cases where we only have one metric on each axis
Merge pull request #301 from obfuscurity/master

Fix legendHeight for one numberOfLines and secondYAxis