valueAxis.title Object

The title of the value axis.

valueAxis.title.background String

The background color of the title. Any valid CSS color string will work here, including hex and rgb.

valueAxis.title.border Object

The border of the title.

valueAxis.title.border.color String(default: "black")

The color of the border.

valueAxis.title.border.dashType String(default: "solid")

The dash type of the border.

"solid"

Specifies a solid line.

"dot"

Specifies a line consisting of dots.

"dash"

Specifies a line consisting of dashes.

"longDash"

Specifies a line consisting of a repeating pattern of long-dash.

"dashDot"

Specifies a line consisting of a repeating pattern of dash-dot.

"longDashDot"

Specifies a line consisting of a repeating pattern of long-dash-dot.

"longDashDotDot"

Specifies a line consisting of a repeating pattern of long-dash-dot-dot.

valueAxis.title.border.width Number(default: 0)

The width of the border.

valueAxis.title.color String

The text color of the title. Any valid CSS color string will work here, including hex and rgb.

valueAxis.title.font String(default: "16px Arial,Helvetica,sans-serif")

The font style of the title.

valueAxis.title.margin Number | Object(default: 5)

The margin of the title.

Example

    // sets the top, right, bottom and left margin to 3px.
    margin: 3


    // sets the top and left margin to 1px
    // margin right and bottom are with 0px (by default)
    margin: { top: 1, left: 1 }

valueAxis.title.padding Number | Object(default: 0)

The padding of the title.

Example

    // sets the top, right, bottom and left padding to 3px.
    padding: 3


    // sets the top and left padding to 1px
    // padding right and bottom are with 0px (by default)
    padding: { top: 1, left: 1 }

valueAxis.title.position String(default: "center")

The position of the title.

"top"

The axis title is positioned on the top (applicable to vertical axis).

"bottom"

The axis title is positioned on the bottom (applicable to vertical axis).

"left"

The axis title is positioned on the left (applicable to horizontal axis).

"right"

"The axis title is positioned on the right (applicable to horizontal axis).

"center"

"The axis title is positioned in the center.

valueAxis.title.rotation Number(default: 0)

The rotation angle of the title.

valueAxis.title.text String

The text of the title.

valueAxis.title.visible Boolean(default: true)

The visibility of the title.

In this article