UNPKG

@marcelorafael/chartjs-plugin-datalabels

Version:

Chart.js plugin to display labels on data elements with clamp function that adjust chart to show numbers

26 lines (20 loc) 435 B
import { Options } from './options'; declare module 'chart.js' { interface ChartDataSets { /** * Per dataset datalabels plugin options. * @since 0.1.0 */ datalabels?: Options } interface ChartPluginsOptions { /** * Per chart datalabels plugin options. * @since 0.1.0 */ datalabels?: Options } } declare const plugin: object; export * from './context'; export default plugin;