Optional. The order of the legend. Display in order (Default for vertical legends) shows labels in the order they were entered. Reverse order is useful in stacked bar charts to show the legend in the same order as the bars appear. Automatic ordering (Default for horizontal legends): roughly means sorting by length, shortest first, as measured in 10 pixel blocks. When two elements are the same length (divided into 10 pixel blocks), the one listed first will appear first.

Default value

Display in order

Valid values

Display in order

Reverse order

Automatic ordering