import { type ChartJs } from "https://deno.land/x/fresh_charts@0.3.1/deps.ts";
const { TitleOptions } = ChartJs;
Properties
align: Align
Alignment of the title.
color: Color
Color of text
font: ScriptableAndScriptableOptions<Partial<FontSpec>, ScriptableChartContext>
Marks that this box should take the full width/height of the canvas (moving other boxes). If set to false
, places the box above/beside the
chart area
Adds padding above and below the title text if a single number is specified. It is also possible to change top and bottom padding separately.