10 lines
383 B
TypeScript
10 lines
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;
|
||
|
|
}
|