Skip to main content
Version: Next

ChartDataSortOptionsSchema

ascending

Sort ascending (the default) or descending. A list of booleans may be given to set the direction per entry in by.

Example: true
by

Name, or list of names, of the columns to sort by. Ignored when is_sort_index is set.

Example: country
is_sort_indexboolean

Whether to sort by the index rather than by column values.

Example: true
ChartDataSortOptionsSchema
{
"ascending": true,
"by": "country",
"is_sort_index": true
}