Scale.majorTicks
configurationConfigures the scale major ticks.
scale.majorTicks
Objectscale.majorTicks.color
StringThe color of the major ticks.
scale.majorTicks.size
NumberThe major tick size. This is the length of the line in pixels that is drawn to indicate the tick on the scale.
scale.majorTicks.visible
BooleanThe visibility of the major ticks. Any valid CSS color string will work here, including hex and rgb.
Default: true
scale.majorTicks.width
NumberThe width of the major ticks.
Default: 0.5