Edit this page

categoryAxis.title Object

The title of the category axis.

categoryAxis.title.background String

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

categoryAxis.title.border Object

The border of the title.

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

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

categoryAxis.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.

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

The width of the border.

categoryAxis.title.color String

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

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

The font style of the title.

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

The margin of the title.

categoryAxis.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

categoryAxis.title.rotation Number(default: 0)

The rotation angle of the title.

categoryAxis.title.text String

The text of the title.

categoryAxis.title.visible Boolean(default: true)

The visibility of the title.

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy