-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Formatting option on data label #37
Comments
I know that because I'm trying to implement this functionality. I'll keep you posted. |
I added a callbacks for |
Is it working? Can I close the issue? |
Hi , Can't check it now , I will check it on the start of next week and let you know. Thanks for your efforts so far. |
Hi Just tested the new nuget (6.0.40) and i think there a little mistunderstanding. It Seems you handled the tooltip data , while i was referring to the the label on the graph it self, here is a screenshot of my graph : As you can see i want to format the label on the bar graph it self , not the tooltip. Let me know if i missed something. Thanks again for your time and efforts. |
I need this change too, for the DataLabels object. |
const workingHoursSummaryChart = new Chart(workingHoursSummaryEle.getContext('2d'), { This code in JavaScript |
After #33 is implemented using chartjs-plugin-datalabels plugin it seems i am now missing an option to format the data label.
It seems to be supported by the plugin itself : https://chartjs-plugin-datalabels.netlify.app/guide/formatting.html#multiline-labels
I can workaround this need currently by truncating the data itself , but not it is not always to workaround this way, so it should be possible with this package someday.
Thanks in advance.
The text was updated successfully, but these errors were encountered: