Skip to content

Interface: SplomTraceDimension ​

One item of dimensions.

Template defaults for every item go in dimensiondefaults.

Properties ​

PropertyTypeDefault valueDescription
axis?SplomTraceDimensionAxisundefinedDefaults for the dimension's axes.
label?stringundefinedLabel of the dimension: the default title of its axes and the name hover labels give its values.
name?stringundefinedName of this dimension, used to reference it from a template via templateitemname.
templateitemname?stringundefinedName of a template dimension to inherit from. If no template item matches, this dimension is hidden (visible: false).
values?DataColumnundefinedValues of the dimension, one per sample (numbers, dates or categories; typed arrays are used as they are). Every dimension indexes the same samples; the shortest one sets the sample count.
visible?booleantrueWhether the dimension is drawn. A hidden dimension keeps its row and column, empty. Forced to false without values.

Released under the MIT License.