import { type ChartJs } from "https://deno.land/x/fresh_charts@0.3.1/deps.ts";
const { TickOptions } = ChartJs;
Properties
backdropColor: Scriptable<Color, ScriptableScaleContext>
Color of label backdrops.
backdropPadding: number | ChartArea
Padding of tick backdrop.
Returns the string representation of the tick value as it should be displayed on the chart. See callback.
Color of tick
font: ScriptableAndScriptableOptions<Partial<FontSpec>, ScriptableScaleContext>
see Fonts
showLabelBackdrop: Scriptable<boolean, ScriptableScaleContext>
If true, draw a background behind the tick labels.
textStrokeColor: Scriptable<Color, ScriptableScaleContext>
The color of the stroke around the text.
textStrokeWidth: Scriptable<number, ScriptableScaleContext>
Stroke width around the text.
z-index of tick layer. Useful when ticks are drawn on chart area. Values <= 0 are drawn under datasets, > 0 on top.