Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fresh_charts/deps.ts>ChartJs.layouts

A server-side-rendered charting library for Fresh
Go to Latest
variable ChartJs.layouts
import { ChartJs } from "https://deno.land/x/fresh_charts@0.3.0/deps.ts";
const { layouts } = ChartJs;

type

{ addBox(chart: Chart, item: LayoutItem): void; removeBox(chart: Chart, layoutItem: LayoutItem): void; configure(
chart: Chart,
item: LayoutItem,
options: { fullSize?: number; position?: LayoutPosition; weight?: number; },
): void; update(
chart: Chart,
width: number,
height: number,
): void; }