Sort By (sortBy)
The Sort By property specifies the order in which the items of a chart are displayed.
In the Properties view, this property is the Sort By property in the Chart category.
Type: Enum, valid values are:
- Key - Sort alphabetically by the key value (Map Chart) or by the category/key value (Category Chart).
- Value - Sort by the numeric value.
- InputOrder - Preserve the order in which the items were defined. If more than one value is received for a particular key value (Map Chart) or categoriy/key value combination (Category Chart), the first value received defines the order.
The default value is InputOrder.
Set the Sort Ascending property to False to obtain reverse sorting.