font

Specifies font options for the title.

Type: Object

Show Example:
jQuery

In this example, the font options of the chart title are changed.


                                    

                                    

color

Specifies a font color for the title.

Type: String
Default Value: '#232323'

This option supports the following colors.

  • hexadecimal colors
  • RGB colors
  • RGBA colors (not supported in Internet Explorer 8)
  • predefined/cross-browser color names
  • predefined SVG colors (not supported in Internet Explorer 8)
Show Example:
jQuery

In this example, the title text's font color is blue.


                                    

                                    

family

Specifies a font family for the title.

Type: String
Default Value: "'Segoe UI Light', 'Helvetica Neue Light', 'Trebuchet MS', Verdana"

For details on acceptable values, refer to the Font family article.

Show Example:
jQuery

In this example, the chart title text's font family is changed.


                                    

                                    

opacity

Specifies a font opacity for the title.

Type: Number
Default Value: undefined

Show Example:
jQuery

In this example, the opacity option of the chart title is set to 0.75.


                                    

                                    

size

Specifies a font size for the title.

Type: Number|String
Default Value: 28

For details on acceptable values, refer to the Font size article.

Show Example:
jQuery

In this example, the chart's title text size is increased to 35 pixels.


                                    

                                    

weight

Specifies a font weight for the title.

Type: Number
Default Value: 200

Show Example:
jQuery

In this example, the weight option of the chart's title text is changed to 400.