elastic-charts
elastic-charts copied to clipboard
feat(Legend): Improve interactions legend labels
Summary
Provide a new prop for legend interactions in the Settings
component.
Details
The new legendItemLabels
prop provides a set of labels to extends the current interaction label helps for component consumers to provide better messaging on interactions.
As nice side effect this change makes it possible to properly handle the i18n side of messaging making the consumer responsible for that.
Issues
This is a complementary feature of #2385
Checklist
- [x] The proper feature labels have been added (e.g.
:interactions
,:axis
) - [x] All related issues have been linked (i.e.
closes #123
,fixes #123
) - [x] The proper documentation and/or storybook story has been added or updated
buildkite update screenshots
buildkite update screenshots