Index-based layer ID.
The Victory component type that produced this layer.
Extracted and validated data points from the Victory component.
OptionalxX-axis label (from VictoryAxis or fallback).
OptionalyY-axis label (from VictoryAxis or fallback).
Number of data elements expected in the DOM (used for selector validation).
OptionallegendLegend labels for multi-series segmented charts.
OptionalcategoriesSet when the layer's points were turned round to match an inverted independent axis (#1018).
The marks themselves are not reordered -- Victory renders them in data order whichever way the axis runs -- so the tagger has to name them one by one instead of leaving a single selector to resolve positionally, or the reading and the highlight would point at opposite ends of the chart.
OptionalpointsWhether this layer's points were turned round for an inverted axis.
The line half of the same fix categoriesReversed serves for the bar
family, and separate from it because the two halves move differently. A
bar names each mark with its own attribute so the highlight can be
permuted; a line is one <path>, and there is nothing to permute -- the
layer declares domMapping.pointOrder instead and LineTrace reverses
the vertices it parsed (#1007, #1031).
OptionalorientationWhich way the layer is drawn, when the chart says so.
Victory turns a bar chart on its side with horizontal, on the component
or on the enclosing <VictoryChart>. Only the bar family carries this
onward -- see MaidrLayer.orientation for why, and for the fact
that Victory's own data stays x = category, y = value either way, so
nothing is swapped alongside it.
Intermediate representation of a Victory data layer before conversion to the MAIDR schema.