data.nodes.label.paddingNumber|Object
The padding of the label.
Example
<div id="sankey" style="width: 500px; height: 200px;"></div>
<script>
$("#sankey").kendoSankey({
data: {
nodes: [
{
id: 1,
label: {
text: "Padded Label",
padding: {
top: 5,
bottom: 5,
left: 10,
right: 10
},
border: {
color: "#ff6358",
width: 1
}
}
},
{ id: 2, label: { text: "Target Node" } }
],
links: [
{ sourceId: 1, targetId: 2, value: 10 }
]
}
});
</script>
In this article