Legend was removed in Handsontable 0.7.0
Instead, please use
cell renderers
. Also see
conditional formatting
tips