Is there a way to read a field for a data label? #69
simonwong7
started this conversation in
General
Replies: 2 comments
-
No, not currently possible. This would not be hard to implement though. |
Beta Was this translation helpful? Give feedback.
0 replies
-
can u tell me how to set background color for labels has shown in below example: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Much in the same way that we can use a function for colorFrom and colorTo, is there a way to get a custom label?
labels: (c) => this.getColor(c.dataset.data[c.dataIndex].someCustomField)
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions