Header menu logo Plotly.NET

CategoryOrder Type

Specifies the ordering logic for the case of categorical variables. By default, plotly uses "trace", which specifies the order that is present in the data supplied. Set `categoryorder` to "category ascending" or "category descending" if order should be determined by the alphanumerical order of the category names. Set `categoryorder` to "array" to derive the ordering from the attribute `categoryarray`. If a category is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to the "trace" mode. The unspecified categories will follow the categories in `categoryarray`. Set `categoryorder` to "total ascending" or "total descending" if order should be determined by the numerical order of the values. Similarly, the order can be determined by the min, max, sum, mean or median of all the values.

Union cases

Union case Description

Array

Full Usage: Array

CategoryAscending

Full Usage: CategoryAscending

CategoryDescending

Full Usage: CategoryDescending

MaxAscending

Full Usage: MaxAscending

MaxDescending

Full Usage: MaxDescending

MeanAscending

Full Usage: MeanAscending

MeanDescending

Full Usage: MeanDescending

MedianAscending

Full Usage: MedianAscending

MedianDescending

Full Usage: MedianDescending

MinAscending

Full Usage: MinAscending

MinDescending

Full Usage: MinDescending

SumAscending

Full Usage: SumAscending

SumDescending

Full Usage: SumDescending

TotalAscending

Full Usage: TotalAscending

TotalDescending

Full Usage: TotalDescending

Trace

Full Usage: Trace

Instance members

Instance member Description

this.Convert

Full Usage: this.Convert

Returns: obj
Returns: obj

Static members

Static member Description

CategoryOrder.convert

Full Usage: CategoryOrder.convert

Returns: CategoryOrder -> obj
Returns: CategoryOrder -> obj

CategoryOrder.toString

Full Usage: CategoryOrder.toString

Returns: CategoryOrder -> string
Returns: CategoryOrder -> string

Type something to start searching.