Skip to main content

ChartLegend

A component that displays a legend for charts, allowing filtering by clicking on them.

Extends

  • LitElement

Properties

charts

charts: Chart[] = []

The list of charts to which the labels are associated.


labels

labels: string[] = []

The list of labels to be displayed.


styles

static styles: CSSResult

The CSS styles for the component.

Overrides

LitElement.styles