New to Kendo UI for Angular? Start a free 30-day trial
SankeyLinkTooltipTemplateDirective
Selects a template
within the <kendo-sankey-tooltip>
component for the
links tooltip.
The following context fields are frequently utilized:
let-source="source"
—The link source data item..let-target="target"
—The link target data item.let-value="value"
—The link value.
Refer to the SankeyLinkTooltipTemplateContext
for the full list of available fields.
html
<kendo-sankey [data]="data">
<kendo-sankey-tooltip [followPointer]="true">
<ng-template kendoSankeyLinkTooltipTemplate let-source="source" let-target="target" let-value="value">
{{ source.label?.text }} - {{ target.label?.text }}: {{ value }}
</ng-template>
</kendo-sankey-tooltip>
</kendo-sankey>
Selector
[kendoSankeyLinkTooltipTemplate]