fixing legend on stacked chart