refactor legend
Merge branch 'negative' of github.com:lpirl/heatmap.js into negative