UNPKG

chartjs-node-canvas

Version:
10 lines (9 loc) 383 B
import { Chart as ChartJS, Plugin as ChartJSPlugin } from 'chart.js/auto'; export declare class BackgroundColourPlugin implements ChartJSPlugin { private readonly _width; private readonly _height; private readonly _fillStyle; readonly id: string; constructor(_width: number, _height: number, _fillStyle: string); beforeDraw(chart: ChartJS): boolean | void; }