CarpetCategoryOrder
public enum CarpetCategoryOrder : String, Encodable
Specifies the ordering logic for the categories in the dimension.
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
.
Note
Used byParallelCategories.Dimension.categoryOrder
, Carpet<XData, YData, AData,
BData>.AAxis.categoryOrder
, Carpet<XData, YData, AData, BData>.BAxis.categoryOrder
.
-
Undocumented
Declaration
Swift
case trace
-
Undocumented
Declaration
Swift
case categoryAscending = "category ascending"
-
Undocumented
Declaration
Swift
case categoryDescending = "category descending"
-
Undocumented
Declaration
Swift
case array