introduced legend for heat map widget