chartjs-node-canvas
Version:
A node renderer for Chart.js using canvas.
10 lines (9 loc) • 383 B
TypeScript
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;
}