font

Specifies font options for a strip label.

Type: Object

Show Example:
jQuery

In this example, the font options for the value axis strip labels are changed.


                                    

                                    

color

Specifies the font color for a strip label.

Type: String
Default Value: '#808080'

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 text for the value axis strip labels is red.


                                    

                                    

family

Specifies the font family for a strip label.

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 and color of the strip label text are changed.


                                    

                                    

opacity

Specifies the font opacity for a strip label.

Type: Number
Default Value: 0.75

Show Example:
jQuery

In this example, the strip label text is red. In addition, the opacity option is set to 0.5.


                                    

                                    

size

Specifies the font size for a strip label.

Type: Number|String
Default Value: 12

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

Show Example:
jQuery

In this example, the strip label text color is red, and the text size is increased to 14 pixels.


                                    

                                    

weight

Specifies the font weight for the text displayed in strips.

Type: Number
Default Value: 400

Show Example:
jQuery

In this example, the strip label text color is red and its weight is changed to 700.