Getting the plugin started (NAWQAAN-361)

Height -- `var textHeight = legendCtx.measureText('M').width;` is a good estimate of the text height until browsers catch up to the spec.