feat: Add click-to-filter functionality to chart legend
This is a potential solution to this blocker - https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10479#note_158539022.
I wanted to try to implement this functionality so that we could compare it against the slot option, already being discussed here: !232 (closed).
Functionality:
This adds the ability to filter series in our charts by clicking on the legend. It is currently implemented for all gitlab-ui charts that use a custom legend: area, line and stacked column.
Video:
filterable-legend
Related Issues
Edited by Tristan Read