Constructors

Properties

Alignment of the legend.

chart: Chart
display: boolean

Is the legend shown?

fullSize: boolean

Marks that this box should take the full width/height of the canvas (moving other boxes). This is unlikely to need to be changed in day-to-day use.

id?: number
labels: LegendLabel
maxHeight?: number

Maximum height of the legend, in pixels

maxWidth?: number

Maximum width of the legend, in pixels

position: LegendPosition

Position of the legend.

reverse: boolean

Legend will show datasets in reverse order.

rtl: boolean

true for rendering the legends from right to left.

title: Title
uuid: string = ...