data.nodes.label.colorString
The color of the label. Accepts a valid CSS color string, including hex and rgb.
Example
<div id="sankey" style="width: 500px; height: 200px;"></div>
<script>
$("#sankey").kendoSankey({
data: {
nodes: [
{
id: 1,
label: {
text: "Colored Label",
color: "#ff6358"
}
},
{ id: 2, label: { text: "Default Color" } }
],
links: [
{ sourceId: 1, targetId: 2, value: 10 }
]
}
});
</script>