OptionalcolorOptionalformatLabel text: a function of the raw value, a format spec ('.1f', '$,.0f', '.2s'; see
chart-format.ts) or Intl.NumberFormat options (default: the value axis format, else a
locale number with up to 2 decimals). Percent bars format the share and append %
OptionalpositionDefault 'outside'
OptionalrichRich text styles: a format function may return a template like '{big|42}{unit|k}'
whose {name|text} runs use rich[name] (see chart-rich-text.ts). Without rich the text
is shown as typed
OptionalrotateText rotation in degrees, positive = anticlockwise like ECharts label.rotate (-90..90;
default 0). The rotated text stays centered on its anchor; placement, the inside fit test and
'auto' collision hiding use the rotated text's bounding box
Optionalshowtrue (default when the object is given): every label at its position. 'auto': inside
labels that do not fit move outside; labels that would leave the canvas, overlap another
label, or (outside) cover another bar are hidden. false: none
Text color (default: theme secondary text outside, light / dark by bar luminance inside)