shapes.fill.gradient.centerArray
The center of the radial 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: "radial",
center: [0.5, 0.5]
}
}
}]
});
</script>