subtitle

Specifies a subtitle for the widget.

Type:

Object

|

String

Use this property to set the text to be displayed as a gauge subtitle (the text below the title). If you need to specify the subtitle's font, assign an object to the subtitle property with the required options specified. In this instance, set the subtitle's text using the text property. When text is not specified for a subtitle, the widget is displayed without a subtitle.

Show Example:
jQuery

In this example, the subtitle text is assigned directly to the subtitle field.


                                    

                                    

font

Specifies font options for the subtitle.

Type:

Object

Show Example:
jQuery

In this example, the subtitle font options are changed.


                                    

                                    

text

Specifies a text for the subtitle.

Type:

String

Default Value: undefined

If you don't need to specify title options other than text, assign the text to the subtitle property directly.
When a text is not specified for a subtitle, the widget is displayed without one.

Show Example:
jQuery

In this example, the subtitle text is assigned to the text field of the subtitle configuration object.