Sort By (sortBy)

The Sort By property specifies the order in which the items of a chart are displayed.

Type: Enum.

Valid values:

  • 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 category/key value combination (Category Chart), the first value received defines the order.

Default value: InputOrder.

To sort by reverse order, set the Sort Ascending property to FALSE.

You can find the Sort By property in the Chart category of the Properties view.