New to Kendo UI for AngularStart a free 30-day trial

Defines the gradient fill of the shape. Used in the gradient property of ShapeFill.

Definition

Package:@progress/kendo-angular-diagrams

Properties

center?

[number, number]

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.

end?

[number, number]

The end point of the linear gradient. Coordinates are relative to the shape bounding box.

radius?

number

The radius of the radial gradient relative to the shape bounding box.

Default:

1

start?

[number, number]

The start point of the linear gradient. Coordinates are relative to the shape bounding box.

The array of gradient color stops.

type?

"linear" | "radial"

The type of the gradient. Supported values are "linear" and "radial". Default: "linear".