[Feature] Can I have the legend formatter accept react component instead of just string?
Open
en
new-feature
waiting-for: author
wontfix
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### What problem does this feature solve?
We would love to customise on legend as a react component, so that we can apply some customer styling on each different section of the `name` in legend.
### What does the proposed API look like?
Something like
```js
{
legend: {formatter: (value) =>
value
}
}
```
Contributor guide
Assessment
This issue has not been assessed yet.