messages.tooltipUnitsString(default: "({0} Units)")
The units string displayed in the tooltip.
Example
<div id="sankey"></div>
<script>
$("#sankey").kendoSankey({
data: {
nodes: [
{ id: 1, label: { text: "Solar" } },
{ id: 2, label: { text: "Electricity" } }
],
links: [
{ sourceId: 1, targetId: 2, value: 40 }
]
},
messages: {
tooltipUnits: "({0} MW)"
}
});
</script>
In this article