Interface: TickOptions
Returns the string representation of the tick value as it should be displayed on the chart. See callback.
Type declaration:
▸ (tickValue
: string | number, index
: number, : []): string | number
Parameters:
Returns: string | number
Defined in:
Defined in: index.esm.d.ts:2699 (opens new window)
color
• color: Scriptable<, ScriptableScaleContext>
Color of tick
see
Defaults.color
Defined in:
display
• display: boolean
true
Defined in:
• font: Scriptable<, ScriptableScaleContext>
see Fonts
Defined in:
major
• major: object
Type declaration:
Name | Type | Description |
---|---|---|
enabled | boolean | If true, major ticks are generated. A major tick will affect autoskipping and major will be defined on ticks in the scriptable options context. default false |
Defined in: index.esm.d.ts:2734 (opens new window)
padding
• padding: number
Sets the offset of the tick labels from the axis
Defined in: index.esm.d.ts:2717 (opens new window)
The color of the stroke around the text.
default
undefined
Defined in:
textStrokeWidth
• textStrokeWidth: <number, ScriptableScaleContext>
Stroke width around the text.
default
0
Defined in:
z
• z: number
z-index of tick layer. Useful when ticks are drawn on chart area. Values <= 0 are drawn under datasets, > 0 on top.
0