Properties of a TickStyle.

Hierarchy

  • TickStyleProperties

Properties

gridStrokeLength: number

Length of GridStroke, where 1 = full and 0 = zero.

gridStrokeStyle: LineStyle

Style of GridStroke as a SolidLine object.

labelAlignment: number

alignment of Label respective to tick line.

after: -1

center: 0

before: +1

labelAlignmentOpposite: undefined | number

With XY axes, a second alignment value can additionally be passed, which is used along the other dimension (i.e. X for Y axes).

[-1, 1]

labelFillStyle: FillStyle

FillStyle of Label.

labelFont: FontSettings

Font of Label as FontSettings.

labelRotation: number

Label rotation in degrees.

labelShadow: undefined | Color

Not to be confused with GlowEffect

tickLength: number

Length of Tick itself as pixels.

tickPadding: number

Padding after Tick as pixels.

tickStyle: LineStyle

Style of Tick itself as a SolidLine object.

type: "tick-style"