Type Alias: ParcatsTrace
ts
type ParcatsTrace = Omit<CommonTraceAttributes, 'hoverinfo'> & DomainTraceAttributes & object;Parallel categories: one column of category bands per dimension, with paths across them sized by the number of samples; drag categories and dimensions to reorder them.
Type Declaration
| Name | Type | Description |
|---|---|---|
arrangement? | "perpendicular" | "freeform" | "fixed" | Dragging: categories move vertically and dimensions horizontally ('perpendicular'), categories move freely ('freeform'), or nothing moves ('fixed'). |
bundlecolors? | boolean | Group paths of the same color together within each category. |
counts? | PerPointNumber | Weight of each sample (one for all, or one per sample; arrays repeat). Minimum: 0 |
dimensions? | readonly ParcatsTraceDimension[] | The dimensions, left to right: each sample is a path across them. |
hoverinfo? | | "count" | "probability" | "count+probability" | "probability+count" | "all" | "none" | "skip" | Fields of the hover labels; 'none' keeps the highlighting without labels, 'skip' turns hover off. |
hoveron? | "category" | "color" | "dimension" | What a hover over a category band shows: the category, the colored band under the pointer ('color'), or every category of the dimension. |
labelfont? | ParcatsTraceLabelfont | Font of the dimension labels. Default: layout.font. |
line? | ParcatsTraceLine | The paths, one per distinct combination and color. |
sortpaths? | "forward" | "backward" | Stack paths by their categories from the leftmost dimension (forward) or the rightmost (backward). |
tickfont? | ParcatsTraceTickfont | Font of the category labels. Default: layout.font, 1/1.2 the size. |
type | "parcats" | Trace type. |