ProtectedariaProtected ReadonlycdrProtected ReadonlyCharte.g. 'bar' — the start of every log line this chart writes.
ReadonlyControllerProtectedformatterWidth ÷ height (e.g. 16 / 9); wins over Height. undefined/null is off; invalid values are logged and ignored, finite ones clamped to [0.25, 8].
ProtectedAspectProtectedFillsLets the host fill its parent (the frame measures that height); see Height. Needs no check, so it reads the raw binding.
A px height (minimum 120; clamped and logged), or 'fill' to take the parent's height. undefined/null (an unset binding) means 300 and is not a caller mistake.
ProtectedHeightundefined/null (an unset binding) means "vertical".
undefined/null (an unset binding) means true. Axis labels stay; only the lines go.
undefined/null (an unset binding) means "grouped".
Horizontal bars are stacked rows: a tooltip above the anchor would cover the row above and be unreachable by mouse.
ProtectedContexte.g. bar chart "Revenue" — prefixes every log line.
ProtectedEmitEmit the chart's click event for an activated point (mouse click, second touch tap, Enter/Space).
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
Bar chart: horizontal or vertical, grouped or stacked (negatives stack away from zero). Colors come from
Colortokens orvar(--mj-viz-N).Example