New to Kendo UI for AngularStart a free 30-day trial

SankeyLegendItem

Represents the legend item options of the Sankey component.

NameTypeDefaultDescription

areaBackground?

string

The background color of the legend item square element. Accepts a valid CSS color string, including HEX and RGB. Defaults to the corresponding node color.

areaOpacity?

number

The opacity of the legend item square element. Defaults to the corresponding node opacity.

cursor?

string

The cursor style of the legend item.

visual?

(args: { createVisual: () => Group; options: any; }) => Group

A function that can be used to create a custom visual for the legend items. The available argument fields are:

  • options—The options of the legend item.
  • createVisual—A function for getting the default visual.
Not finding the help you need?
Contact Support