import { type ChartJs } from "https://deno.land/x/fresh_charts@0.2.0/deps.ts";
const { DateAdapter } = ChartJs;
Properties
readonly
options: TMethods
init(this: DateAdapter<T>, chartOptions: ChartOptions): void
Will called with chart options after adapter creation.
formats(this: DateAdapter<T>): Record<string, string>
Returns a map of time formats for the supported formatting units defined in Unit as well as 'datetime' representing a detailed date/time string.