title.textString

The text of the Sankey title. You can also set the text directly for a title with default options.

The text can be split into multiple lines by using line feed characters ("\n").

Example

<div id="sankey" style="width: 500px; height: 200px;"></div>
<script>
$("#sankey").kendoSankey({
    title: {
        text: "Sankey Diagram\nData Flow Visualization"
    },
    data: {
        nodes: [
            { id: 1, label: { text: "Node 1" } },
            { id: 2, label: { text: "Node 2" } }
        ],
        links: [
            { sourceId: 1, targetId: 2, value: 1 }
        ]
    }
});
</script>
In this article
title.text
Not finding the help you need?
Contact Support