Search results

AxisLine API in JavaScript (ES5) Chart API control

Configures the axis line of a chart, allowing customization of the line’s appearance, including its color, width, and dashArray.

Properties

color

string

Specifies the color of the axis line. Accepts values in hex and rgba formats as valid CSS color strings.

Defaults to null

dashArray

string

The dash array of the axis line, defining the pattern of dashes and gaps for the axis line.

Defaults to

width

number

The width of the axis line in pixels, determining the thickness of the lines on the axis.

Defaults to 1