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:

BehaviorProperties
Animationanimation, animationOptions
Bookmarkbookmark, bookmarkLevel, bookmarkTitle, bookmarkOmitFromToc
Component Labellabel, labelPosition, labelWidth, labelBreak, required, enabled, shrinkToLabel, style, readOnly
Publish/SubscribesubscribeToTopic
Tooltiptooltip, tooltipMarkdown, tooltipOptions
Styling Variantvariant

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.