Angular Chart - title

Configures the widget's title.

Type:

Object

|

String

The widget's title is a short text that usually indicates what is visualized. If you need to specify the title's text only, assign it directly to the title option. Otherwise, set this option to an object with the text and other fields specified.

The title can be accompanied by a subtitle elaborating on the visualized subject using the title.subtitle object.

font

Specifies font options for the title.

Type:

Object

horizontalAlignment

Specifies the title's alignment in a horizontal direction.

Type:

String

Default Value: 'center'
Accepted Values: 'center' | 'left' | 'right'

When using the widget as an ASP.NET MVC Control, specify this option with the HorizontalAlignment enum that accepts the following values: Left, Center and Right.

See Also

margin

Generates space around the title.

Type:

Number

|

Object

Default Value: 10

Use the fields of this object to set the required values for the left, right, top and bottom title margins separately. If title margins suppose to be equal, assign a numeric value directly to the margin property.

placeholderSize

Specifies the minimum height that the title occupies.

Type:

Number

Default Value: undefined

subtitle

Configures the widget's subtitle.

Type:

Object

|

String

If you need to specify the subtitle's text only, assign it directly to this option. Otherwise, set this option to an object with the text and other fields specified.

text

Specifies the title's text.

Type:

String

Default Value: null

verticalAlignment

Specifies the title's alignment in a vertical direction.

Type:

String

Default Value: 'top'
Accepted Values: 'bottom' | 'top'

When using the widget as an ASP.NET MVC Control, specify this option with the VerticalEdge enum that accepts the following values: Top and Bottom.

See Also