shapes.fill.gradient.endArray
The end point of the linear gradient.
Coordinates are relative to the shape bounding box.
For example, [0, 0] is top left and [1, 1] is bottom right.
Example
<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
shapes: [{
id: "1",
x: 100,
y: 100,
content: { text: "Shape 1" },
fill: {
gradient: {
type: "linear",
end: [1, 1]
}
}
}]
});
</script>