title.backgroundString(default: "white")
The background color of the title. Accepts a valid CSS color string, including hex and rgb.
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 }
]
},
title: {
text: "Energy Flow",
background: "#f0f0f0"
}
});
</script>
In this article