Resolves the orientation a trace is actually navigated by.
Mirrors what the trace constructors do — layer.orientation ?? VERTICAL —
so the announcement matches the model's behaviour rather than the presence
of a key in the JSON. A bar chart whose layer omits orientation is
navigated as a vertical bar chart, so it is announced as one.
traceType is a plain string rather than a TraceType: the pre-activation
builder in maidr-component.tsx reads it straight off the JSON, where an
absent or unknown type is possible, and an unknown type simply has no
orientation.
Resolves the orientation a trace is actually navigated by.
Mirrors what the trace constructors do —
layer.orientation ?? VERTICAL— so the announcement matches the model's behaviour rather than the presence of a key in the JSON. A bar chart whose layer omitsorientationis navigated as a vertical bar chart, so it is announced as one.traceTypeis a plain string rather than aTraceType: the pre-activation builder inmaidr-component.tsxreads it straight off the JSON, where an absent or unknown type is possible, and an unknown type simply has no orientation.