Logo

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.

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.
This site is an XMLUI™ app.