Builds a human-readable plot type string with optional orientation prefix.
Returns just the type when there is no orientation (no extra whitespace).
Takes the resolved orientation, not the raw layer field — pass
resolveOrientation's result so an undeclared orientation still
announces the one the trace is navigated by.
Builds a human-readable plot type string with optional orientation prefix. Returns just the type when there is no orientation (no extra whitespace).
Takes the resolved orientation, not the raw layer field — pass resolveOrientation's result so an undeclared orientation still announces the one the trace is navigated by.