fixes cases where we only have one metric on each axis
Merge pull request #302 from obfuscurity/0.9.x

Fix legendHeight for one numberOfLines and secondYAxis