legend.title.positionString(default: "top")

The position of the title.

  • "bottom" - the title is positioned on the bottom.
  • "top" - the title is positioned on the top.

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",
            position: "bottom"
        }
    }
});
</script>
In this article
legend.title.position
Not finding the help you need?
Contact Support