property Graph.Order as String
Specifies the custom order in which values or categories are displayed in the chart.

TypeDescription
String A String expression that specifies the custom display sequence of value or category indexes, separated by commas.
  • When retrieving the property, it returns a list of indexes in their current displayed order
  • When assigning a non-empty value, you can set the position of one, several, or all indexes
  • Any unspecified indexes are arranged in their default order.
The Order property gets or sets the custom display sequence of values or categories by their zero-based indexes. The property uses a string of comma-separated indexes. Empty entries (,,) preserve positions using the default order.  The data values in the chart are arranged using the following properties:

The custom order is cleared when Sort or Reverse is set, leaving the Order property empty. The AllowMoveValue property specifies the key combination that enables users to move or rearrange values within a series, as well as reorder entire series in the chart using drag-and-drop.

For instance,