ToggleLegendSettings

23 Sep 20251 minute to read

Gets or sets the settings to customize the color-mapping visibility based on the legend visibility.

Properties

applyShapeSettings boolean

Specifies whether the property of the shape settings is to be set while toggling the legend item.

Defaults to true

border BorderModel

Gets or sets the options to customize the style properties of the border for the shape in maps.

enable boolean

Enables or disables the legend to be toggled.

Defaults to false

fill string

Gets or sets the color of the shape of the legend item which is toggled.

Defaults to ’’

opacity number

Gets or sets the opacity for the shape of the legend item which is toggled.

Defaults to 1