Legend
Legend provides a standalone legend for chart components when you need custom positioning or styling beyond the chart's built-in showLegend property. Most charts can display legends automatically, but this component offers precise control over legend placement and alignment.
Behaviors
This component supports the following behaviors:
| Behavior | Properties |
|---|---|
| Animation | animation, animationOptions |
| Bookmark | bookmark, bookmarkLevel, bookmarkTitle, bookmarkOmitFromToc |
| Component Label | label, labelPosition, labelWidth, labelBreak, required, enabled, shrinkToLabel, style, readOnly |
| Publish/Subscribe | subscribeToTopic |
| Tooltip | tooltip, tooltipMarkdown, tooltipOptions |
| Styling Variant | variant |
Properties
align
default: "center"
The alignment of the legend
Available values: left, right, center (default)
verticalAlign
default: "bottom"
The vertical alignment of the legend
Available values: top, bottom (default), middle
Events
This component does not have any events.
Exposed Methods
This component does not expose any methods.
Styling
This component does not have any styles.