label

Configures the strip label.

Type: Object

Setting the text option is necessary for a strip label to be displayed.

See Also
  • valueAxis | stripStyle | label - specifies a unified style for the labels of those strips that belong to the value axis.
  • commonAxisSettings | stripStyle | label - specifies a unified style for the labels of all strips in the widget.
Show Example:
jQuery

In the following example, the value axis strips have labels.


                                    

                                    

font

Specifies font options for strip labels.

Type: Object

horizontalAlignment

Aligns strip labels in the horizontal direction.

Type: String
Default Value: 'left'
Accepted Values: 'right' | 'center' | 'left'

NOTE: When configuring a widget using ASP.NET MVC Wrappers, specify this option using the HorizontalAlignment enum. This enum accepts the following values: Left, Center and Right.

text

Specifies the text of the strip label.

Type: String
Default Value: undefined

verticalAlignment

Aligns strip labels in the vertical direction.

Type: String
Default Value: 'center'
Accepted Values: 'top' | 'center' | 'bottom'

NOTE: When configuring the widget using ASP.NET MVC Wrappers, specify this option using the VerticalAlignment enum. This enum accepts the following values: Top, Center and Bottom.