Legend marker label placement

Controls horizontal marker placement so that one specify either maker first or label first in the legend. This incorporates the feature request in issue #3285.
I am not a fan of the in-line logic, but not enough to make more fuss than leaving a comment.