5.20203.748
wijmo.chart Class Legend Wijmo API Class

Legend Class

Represents the chart legend.

Heirarchy

Constructors

constructor

Properties

maxSize

maxSize: number | string

Gets or sets the maximum legend size (width for left or right position and height for top or bottom position). The size can be specified in pixels: maxSize = '100px' or percents: maxSize = '50%'.

orientation

orientation: Orientation

Gets or sets a value that determines the orientation of the legend.

position

position: Position

Gets or sets a value that determines whether and where the legend appears in relation to the plot area.

title

title: string

Gets or sets a value that determines the title of the legend.

titleAlign

titleAlign: string

Gets or sets a value that determines the align value of the legend. The value should be 'left', 'center' or 'right'.