shapes.fill.gradient.typeString(default: "linear")

The type of the gradient. The supported values are:

  • linear
  • radial

Example

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
        id: "1",
        x: 100,
        y: 100,
        content: { text: "Shape 1" },
        fill: {
            gradient: {
                type: "radial"
            }
        }
    }]
});
</script>
In this article
shapes.fill.gradient.type
Not finding the help you need?
Contact Support