Add a legend to the heat chart widget