add legend for mosaic