[]
        
(Showing Draft Content)

Legend 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.

scrollbar

scrollbar: boolean

Gets or sets a value that determines whether the scrollbar should be used for a long legend.

The default value for this property is false.

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'.