Using polylabel plus some extra boundary checks to position labels in a stacked area chart.
See also: Stacked area label placement #2