Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't shown datalabels #386

Open
fuadsadiqov opened this issue Jun 20, 2023 · 1 comment
Open

Don't shown datalabels #386

fuadsadiqov opened this issue Jun 20, 2023 · 1 comment

Comments

@fuadsadiqov
Copy link

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
},
datalabels: {
display: true,
color: '#000',
align: 'end',
anchor: 'end',
}
},
}
What can I do?

@simonbrunel
Copy link
Member

What can I do?

Provide a better description and a codepen that reproduces this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants