Legend module class
any[]
collection of legends
Element
group of legend
any[]
collection of rendering legends
To add the event listener
Returns void
To change the next page
Parameter | Type | Description |
---|---|---|
e | PointerEvent |
Specifies the pointer event argument. |
Returns void
To draw the legend
Returns void
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
To remove the event listener
Returns void
To remove the interactive pointer
Returns void
To rendered the interactive pointer
Parameter | Type | Description |
---|---|---|
e | PointerEvent | TouchEvent |
Specifies the pointer argument. |
Returns void
method for legend
Returns void
Wire events for event handler
Parameter | Type | Description |
---|---|---|
element | Element |
Specifies the element. |
Returns void