Skip to content
New issue

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

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

Already on GitHub? # to your account

The label does not support decimal place. I can only set integers. #242

Open
Dawit-DNA opened this issue May 28, 2021 · 2 comments
Open

Comments

@Dawit-DNA
Copy link

No description provided.

@austenstone
Copy link

Set the staticLabels.fractionDigits

this.ctx.fillText(formatNumber(value.label, staticLabels.fractionDigits), 0, -radius - this.lineWidth / 2);

This function formatNumber will round if you don't provide a value.

formatNumber = function() {

image

@rchiavel
Copy link

I´m sorry!
I need decimal points on pointer.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants