SankeyLinkTooltipTemplateDirective
Directive
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.
Definition
Package:@progress/kendo-angular-charts
Selector:[kendoSankeyLinkTooltipTemplate]
Syntax:
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>