Syncfusion AI Assistant

How can I help you?

Api legendSettings in TypeScript Treemap control

Configures the legend settings.

Properties

alignment string

Customize the legend alignment.

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

Defaults to null

height string

Customize the legend height.

Defaults to ’’

imageUrl string

Specifies the images url.

Defaults to null

invertedPointer boolean

Inverted pointer for interactive legend

Defaults to false

labelDisplayMode string

Specifies the label intersect action.

Defaults to ‘None’

labelPosition string

To place the label position for interactive legend.

Defaults to ‘After’

location Location

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

Defaults to ‘None’

position string

Customize the legend position of the maps.

Defaults to ‘Bottom’

shape string

Customize the legend shape.

Defaults to ‘Circle’

shapeBorder BorderModel

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

shapeHeight number

Customize the shape height.

Defaults to 15

shapePadding number

Customize the shape padding

Defaults to 10

shapeWidth number

Customize the shape width.

Defaults to 15

textStyle FontModel

Options for customize the legend text.

title CommonTitleSettingsModel

To configure the title of the legend.

titleStyle FontModel

Options for customizing text styles of the legend.

visible boolean

Toggle the legend visibility.

Defaults to false

width string

Customize the legend width.

Defaults to ’’