Skip to content

Interface: ParcoordsTraceDimension ​

One item of dimensions.

Template defaults for every item go in dimensiondefaults.

Properties ​

PropertyTypeDefault valueDescription
constraintrange?readonly unknown[]undefinedThe brushed (selected) interval [lo, hi], or several [[lo, hi], [lo2, hi2]] with multiselect. Lines outside it on any constrained axis are drawn with the unselected style. Brushing an axis restyles this attribute.
label?stringundefinedAxis title, drawn above (or below, labelside) the axis.
multiselect?booleantrueAllow several constraint ranges on this axis: a new brush adds a range instead of replacing it.
name?stringundefinedName of this dimension, used to reference it from a template via templateitemname.
range?readonly number[]undefinedThe axis range [bottom, top]. Default: the extent of values. [high, low] flips the axis.
templateitemname?stringundefinedName of a template dimension to inherit from. If no template item matches, this dimension is hidden (visible: false).
tickformat?string""d3-format specifier of the tick labels (e.g. ,.2f, .0%).
ticktext?DataColumnundefinedTick labels, one per tickvals entry.
tickvals?DataColumnundefinedTick positions. With tickvals the axis is ordinal: brushes snap to the ticks and a click selects one.
values?DataColumnundefinedThe values of this dimension, one per line (row). A dimension without values is hidden.
visible?booleantrueShow this dimension. Hidden dimensions keep their place in dimensions.

Released under the MIT License.