data.links.colorString

The color of the link. The color is used when the colorType option is set to static. Accepts a valid CSS color string, including hex and rgb.

Example

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