<dy-legend>

A component for displaying a legend or key for charts, maps, or other data visualizations. It helps users understand the meaning of different elements in your visualization by providing clear labels and indicators.

Example

API

DuoyunLegendElement

Extends DuoyunScrollBaseElement

DuoyunLegendElement Instance Properties

Property(Attribute) Reactive Type
colors Yes ``#${string}[]
legends Yes Legend[]
value Yes string[]
change Emitter<string[]>

DuoyunLegendElement Other

Type Value
Event change

TapScrollBaseElement

Shadow DOM; Extends TapResizeBaseElement

TapScrollBaseElement Instance Properties

Property(Attribute) Reactive Type
disableScrollMask(disable-scroll-mask) Yes boolean

TapScrollBaseElement Other

Type Value
CSS State top-overflow, right-overflow, bottom-overflow, left-overflow

TapResizeBaseElement

Extends GemElement

TapResizeBaseElement Instance Properties

Property(Attribute) Reactive Type
resize Emitter<ResizeDetail>
resizeThrottle Yes boolean
borderBoxSize { blockSize: number; inlineSize: number; }
contentRect { x: number; y: number; height: number; width: number; }

TapResizeBaseElement Other

Type Value
Event resize