Search results

MajorTickLines API in JavaScript Chart API control

Configures the major tick lines in the axis, allowing for the setting of properties such as color, width, and height to define how the tick lines appear on the chart.

Properties

color

string

Specifies the color of the major tick line, accepting hex and rgba values as valid CSS color strings.

Defaults to null

height

number

The height of the ticks in pixels, which defines their length on the axis.

Defaults to 5

width

number

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

Defaults to 1