Replies: 2 comments
-
Personally, I agree, I think the goal was to use |
Beta Was this translation helpful? Give feedback.
0 replies
-
@jucabot submitted PR #48 in order to add new option to format the labels. |
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
-
The purpose is to allow to format the caption of each rect.
Currently it is defined in drawLabels() // Controller line 125 as
const labels = (opts.label || item.g + '\n' + item.v).split('\n');
I suggest to call an item formatter function to allow to define a custom formatter.
Beta Was this translation helpful? Give feedback.
All reactions