label font

Specifies font options for a strip label.

Type: Object

color

Specifies the font color for a strip label.

Type: String
Default Value: '#767676'

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)

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.

opacity

Specifies the font opacity for a strip label.

Type: Number
Default Value: undefined

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.

weight

Specifies the font weight for the text displayed in strips.

Type: Number
Default Value: 400