font

Specifies font options for the text displayed by tooltips.

Type: Object

Show Example:
jQuery

In this example, several font options of tooltips are changed. Hover over any bar to see its tooltip.


                                    

                                    

color

Specifies a font color for the text displayed by tooltips.

Type: String
Default Value: '#232323'

This option supports the following colors.

Show Example:
jQuery

In this example, the text displayed by tooltips is colored in 'lightsalmon'. Hover over any bar to see its tooltip.


                                    

                                    

family

Specifies a font family for the text displayed by tooltips.

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

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

Show Example:
jQuery

In this example, the font family of tooltips is changed. Hover over any bar to see its tooltip.


                                    

                                    

size

Specifies a font size for the text displayed by tooltips.

Type: Number
Default Value: 12

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

Show Example:
jQuery

In this example, the font size of tooltips is changed to 30. Hover over any bar to see its tooltip.


                                    

                                    

weight

Specifies the font weight for the text displayed by tooltips.

Type: Number
Default Value: 400

Show Example:
jQuery

In this example, the font weight of tooltips is changed to 400. Hover over any bar to see its tooltip.