data.nodes.label.border.dashTypeString(default: "solid")
The dash type of the border.
The following dash types are supported:
- "dash" - a line consisting of dashes
- "dashDot" - a line consisting of a repeating pattern of dash-dot
- "dot" - a line consisting of dots
- "longDash" - a line consisting of a repeating pattern of long-dash
- "longDashDot" - a line consisting of a repeating pattern of long-dash-dot
- "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot
- "solid" - a solid line
Example
<div id="sankey" style="width: 500px; height: 200px;"></div>
<script>
$("#sankey").kendoSankey({
data: {
nodes: [
{
id: 1,
label: {
text: "Dashed Border",
border: {
color: "#ff6358",
width: 2,
dashType: "dash"
}
}
},
{ id: 2, label: { text: "Target Node" } }
],
links: [
{ sourceId: 1, targetId: 2, value: 10 }
]
}
});
</script>
In this article