Search results

TreeMapLegend API in React TreeMap API component

Legend module class

Properties

legendCollections

any[]

collection of legends

legendGroup

Element

group of legend

legendRenderingCollections

any[]

collection of rendering legends

Methods

addEventListener

To add the event listener

Returns void

changeNextPage

To change the next page

Parameter Type Description
e PointerEvent Specifies the pointer event argument.

Returns void

drawLegend

To draw the legend

Returns void

legendGradientColor

Get the gradient color for interactive legend.

Parameter Type Description
colorMap ColorMappingModel Specifies the color mapping instance.
legendIndex number Specifies the index of legend.

Returns string

removeEventListener

To remove the event listener

Returns void

removeInteractivePointer

To remove the interactive pointer

Returns void

renderInteractivePointer

To rendered the interactive pointer

Parameter Type Description
e PointerEvent | TouchEvent Specifies the pointer argument.

Returns void

renderLegend

method for legend

Returns void

wireEvents

Wire events for event handler

Parameter Type Description
element Element Specifies the element.

Returns void