UNPKG

chartjs-plugin-doughnutlabel-v3

Version:

Chart.js (Version 3) Doughnut Chart plugin to display custom lines of text in the center of the donut.

16 lines (12 loc) 353 B
import { ChartType, Plugin } from "chart.js"; import { Options } from './options'; declare module "chart.js" { interface PluginOptionsByType<TType extends ChartType> { /** * Per chart doughnutlabel plugin options. */ doughnutLabel?: Options; } } declare const DoughnutLabel: Plugin; export default DoughnutLabel;