Add "reversed" option to legend

Adds ability to draw legend in reverse order. For stacked & filled line charts, the default legend order produces "opposite" order from the natural one.