legend.title.paddingNumber|Object(default: 5)
The padding of the title. A numeric value will set all margins.
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 }
]
},
legend: {
visible: true,
title: {
text: "Legend Title",
padding: 10
}
}
});
</script>
In this article