chartjs-plugin-datalabels
chartjs-plugin-datalabels copied to clipboard
Chart.js plugin to display labels on data elements
When I build it with Parcel the entire build fails: _TypeError: (0 , n.merge) is not a function at Object. (chartjs-plugin-datalabels.esm.js:579:1)_ Package versions: [email protected] [email protected] [email protected]
Importing in angular component throws the following error: ``` Error: node_modules/chart.js/dist/types/index.d.ts:2794:18 - error TS2428: All declarations of 'PluginOptionsByType' must have identical type parameters. 2794 export interface PluginOptionsByType { ~~~~~~~~~~~~~~~~~~~ Error:...
Tried chart.registry(datalabels) and plugins: [datalabels], no errors throwed and nothing happens. Any hints or tips are appreciated.
Hello, I use donut chart ng2-charts in angular, I want to add datalabels but nothing seen in canvas. public doughnutChartOptions: ChartConfiguration['options'] = { plugins: { legend: { display: false },...
### Current behaviour If only active points labels are displayed (`display: (context) => context.active`) and `chart.update()` triggered while some labels are displayed, these labels disappear until another point become active....
Hello, I am developing a NextJS site and I installed the latest "chartjs-plugin-datalabels". When I am running my project I got the following error: ``` Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './helpers'...
## Issue I'm unable to get the below TypeScript to compile due to a type error when using a mixed chart type. According to the [Chart.js documentation](https://www.chartjs.org/docs/latest/charts/mixed.html) the *type* property...
Hello, I experienced a really weird behavior with my labels and don't know why. Im using this package in combination with `chartjs-node-canvas`. ## Description The provided example code has three...
https://github.com/chartjs/chartjs-plugin-datalabels/blob/61e38903333a3da882f1b64dac14af16e8c52d17/src/positioners.js#L167 specifies custom behavior for different chart.js elements. I'm developing a bunch of chartjs plugins e.g., https://github.com/sgratzl/chartjs-chart-geo and it would be great if I can extent the list of custom...