Skip to content

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 ​

NameTypeDescription
arrangement?"perpendicular" | "freeform" | "fixed"Dragging: categories move vertically and dimensions horizontally ('perpendicular'), categories move freely ('freeform'), or nothing moves ('fixed').
bundlecolors?booleanGroup paths of the same color together within each category.
counts?PerPointNumberWeight 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?ParcatsTraceLabelfontFont of the dimension labels. Default: layout.font.
line?ParcatsTraceLineThe 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?ParcatsTraceTickfontFont of the category labels. Default: layout.font, 1/1.2 the size.
type"parcats"Trace type.

Released under the MIT License.