SankeyLegendItemSettingsBuilder
Methods
AreaBackground(System.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.
Parameters
value - System.String
The value for AreaBackground
AreaOpacity(System.Double)
The opacity of the legend item square element. Defaults to the corresponding node opacity.
Parameters
value - System.Double
The value for AreaOpacity
Cursor(System.String)
The cursor style of the legend item.
Parameters
value - System.String
The value for Cursor
Visual(System.String)
A function that can be used to create a custom visual for the legend items. The available argument fields are: options—The item options. or createVisual—A function for getting the default visual..
Parameters
handler - System.String
The name of the JavaScript function that will be evaluated.
Visual(System.Func)
A function that can be used to create a custom visual for the legend items. The available argument fields are: options—The item options. or createVisual—A function for getting the default visual..
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.