nodes.offset.topNumber

The top offset of the node.

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 }
        ]
    },
    nodes: {
        offset: {
            top: 10
        }
    }
});
</script>
In this article
nodes.offset.top
Not finding the help you need?
Contact Support