ILegendItemRenderingEventArgs

2 Oct 20251 minute to read

Specifies the event arguments available when rendering each legend item in the treemap.

Properties

cancel boolean

Specifies the cancel state for the event. The default value is false.
If set as true, the event progress will be stopped.

fill string

Specifies the shape color of the current legend item.

imageUrl string

Defines the URL of the legend if the shape is set as image.

name string

Defines the name of the event.

shape LegendShape

Defines the shape of the current legend item.

shapeBorder BorderModel

Specifies the options for customizing the color and width of the shape border.

treemap TreeMap

Defines the current treemap instance.