import { type ChartJs } from "https://deno.land/x/fresh_charts@0.2.1/deps.ts";
const { ChartData } = ChartJs;
TData represents the data point type. If unspecified, a default is provided based on the chart type. TLabel represents the label type
Type Parameters
optional
TData = DefaultDataPoint<TType>Properties
optional
labels: TLabel[]datasets: ChartDataset<TType, TData>[]