shapes.fill.gradient.startArray

The start 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",
                start: [0, 0]
            }
        }
    }]
});
</script>
In this article
shapes.fill.gradient.start
Not finding the help you need?
Contact Support