LegendSettings

Configures the legend settings.

Properties

alignment string

Customize the legend alignment of the maps.

Defaults to Center

background string

Customize the legend background

Defaults to transparent

border BorderModel

Options for customizing the color and width of the legend border.

fill string

Specifies the legend shape color

height string

Customize the legend height of the maps.

Defaults to ''

invertedPointer boolean

Inverted pointer for interactive legend

labelDisplayMode string

Specifies the label intersect action.

labelPosition string

To place the label position for interactive legend.

location Point

Customize the legend placed by given x and y values.

mode string

Customize the legend mode.

Defaults to Default

orientation string

Customize the legend items placed

position string

Customize the legend position of the maps.

Defaults to Bottom

shape string

Customize the legend shape of the maps.

Defaults to Circle

shapeBorder BorderModel

Options for customizing the color and width of the shape border.

shapeHeight number

Customize the legend height of the maps.

Defaults to 15

shapePadding number

Customize the shape padding

Defaults to 10

shapeWidth number

Customize the legend width of the maps.

Defaults to 15

textStyle FontModel

Options for customizing text styles of the legend.

title CommonTitleSettingsModel

To configure the title of the legend.

titleStyle FontModel

Options for customizing text styles of the legend.

toggleVisibility boolean

Toggle the legend selection

Defaults to false

type string

Type of the legend rendering

visible boolean

Toggle the legend visibility.

Defaults to false

width string

Customize the legend width of the maps.

Defaults to ''