legend.title.visibleBoolean(default: true)

If set to false the Sankey will not display the legend title.

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