Skip to content

SiCustomLegendComponent documentation

import { SiCustomLegendComponent } from '@siemens/charts-ng/custom-legend';

Input Properties

Name Type Description
customLegend
CustomLegend | undefined

The data and configuration rendered by the custom legend.

subTitle
string | undefined

The legend subtitle.

subTitleColor
string | undefined

The color of the legend subtitle.

textColor
string | undefined

The color of the legend text.

title
string | undefined

The legend title.

titleColor
string | undefined

The color of the legend title.

Output Properties

Name Type Description
legendClickEvent
CustomLegendItem

The event emitted when a legend is clicked.

legendHoverEndEvent
CustomLegendItem

The event emitted when the mouse leaves a legend.

legendHoverStartEvent
CustomLegendItem

The event emitted when the mouse enters a legend.

legendIconClickEvent
CustomLegendItem

The event emitted when a legend icon is clicked.

Types Documentation

import type { CustomLegend } from '@siemens/charts-ng/custom-legend';
Properties

import type { CustomLegendItem } from '@siemens/charts-ng/custom-legend';


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