elastic-charts icon indicating copy to clipboard operation
elastic-charts copied to clipboard

feat(Legend): Improve interactions legend labels

Open dej611 opened this issue 9 months ago • 3 comments

Summary

Provide a new prop for legend interactions in the Settings component.

Screenshot 2024-04-29 at 11 52 59

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

dej611 avatar Apr 29 '24 09:04 dej611

buildkite update screenshots

dej611 avatar Apr 29 '24 13:04 dej611

buildkite update screenshots

dej611 avatar May 02 '24 10:05 dej611