AxisLine

Defines the visual appearance settings for an axis line in the chart.

Props

The following table outlines the props for the AxisLine:

NameTypeDefaultDescription
color
string
''

Specifies the color of the axis line. Accepts any valid CSS color string.

dashArray
string
''

Defines the dash pattern used to render the axis line. Accepts a string of comma-separated numbers (e.g., '2,2') to create dashed lines.

width
number
1

Specifies the thickness of the axis line in pixels.