Skip to content

SiCustomLegendComponent documentation

selector
si-custom-legend

Input Properties

NameTypeDefaultDescription
customLegend
CustomLegend
subTitle
stringThe legend subtitle.
subTitleColor
stringThe color of the legend subtitle.
textColor
stringThe color of the legend text.
title
stringThe legend title.
titleColor
stringThe color of the legend title.

Output Properties

NameTypeDescription
legendClickEvent
CustomLegendItemThe event emitted when a legend is clicked.
legendHoverEndEvent
CustomLegendItemThe event emitted when the mouse leaves a legend.
legendHoverStartEvent
CustomLegendItemThe event emitted when the mouse enters a legend.
legendIconClickEvent
CustomLegendItemThe event emitted when a legend icon is clicked.

Types Documentation

Properties
customLegends: [ { list: CustomLegendItem[], unit: string }, { list: CustomLegendItem[], unit: string } ]
gridIndex?: number
legendAxis: string
top?: (string | number)
Properties
alternativeNaming?: boolean
color?: string
displayName?: string
name: string
selected: boolean
symbol?: string
tooltip?: string

Except where otherwise noted, content on this site is licensed under MIT License.