data.nodes.label.fontString
The font of the label. Accepts a valid CSS font string. For example, "bold 12px Arial".
Example
<div id="sankey" style="width: 500px; height: 200px;"></div>
<script>
$("#sankey").kendoSankey({
data: {
nodes: [
{
id: 1,
label: {
text: "Custom Font",
font: "bold 16px Arial"
}
},
{ id: 2, label: { text: "Default Font" } }
],
links: [
{ sourceId: 1, targetId: 2, value: 10 }
]
}
});
</script>