Interface: ParcatsTraceDimension
One item of dimensions.
Template defaults for every item go in dimensiondefaults.
Properties
| Property | Type | Default value | Description |
|---|---|---|---|
categoryarray? | DataColumn | undefined | The category order with categoryorder: 'array'. |
categoryorder? | "trace" | "category ascending" | "category descending" | "array" | undefined | Order of the categories, top to bottom: first appearance ('trace'), sorted, or categoryarray (then unlisted values by appearance). Default: 'array' when categoryarray is given, else 'trace'. Dragging a category restyles it to 'array'. |
displayindex? | number | undefined | Position of this dimension, left to right. Default: its index. Used only when the visible dimensions form a permutation of 0 … n − 1; dragging a dimension restyles it. |
label? | string | undefined | Dimension title, drawn above it. |
name? | string | undefined | Name of this dimension, used to reference it from a template via templateitemname. |
templateitemname? | string | undefined | Name of a template dimension to inherit from. If no template item matches, this dimension is hidden (visible: false). |
ticktext? | DataColumn | undefined | Category labels, one per categoryarray entry (categoryorder: 'array' only). Default: the values. |
values? | DataColumn | undefined | The category of each sample in this dimension. A dimension without values is hidden. |
visible? | boolean | true | Show this dimension. Hidden dimensions keep their place in dimensions. |