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

Defines the label displayed on the connection path.

Definition

Package:@progress/kendo-angular-diagrams

Properties

The background color of the connection label. Accepts valid CSS colors.

The border options of the connection label.

Default:

null

color?

string

The color of the connection content text.

The font family of the connection content text.

Default:

"sans-serif"

fontSize?

number

The font size in pixels of the connection content text.

Default:

15

The font style of the connection content text.

The font weight of the connection content text.

offset?

number

Defines the distance (in pixels) between the label and the connection path.

Default:

5

The padding options of the connection label. Applicable when background or border is set.

Default:

{ left: 4, right: 4, top: 2, bottom: 2 }

position?

"inline" | ConnectionLabelPosition

Defines the position of the label relative to the connection path.

Default:

{ vertical: 'top', horizontal: 'right' }

The template which renders the labels.

Parameters:dataanyReturns:

string

text?

string

The static text displayed on the connection.

A function returning a visual element to render for the content of a connection.

Parameters:dataanyReturns:

any