Skip to content

feat(chart): Add legend clickability hover-state

What does this MR do?

Charts do not easily let users know that they can click on the chart legend to show/hide values. This MR adds additional signifiers to the chart's legend items when users hover them.

Before After
chart_legend_before chart_legend_after

Does this MR meet the acceptance criteria?

Conformity

  • Code review guidelines.
  • GitLab UI's contributing guidlines.
  • If it changes a Pajamas-compliant component's look & feel, the MR has been reviewed by a UX designer.
  • If it changes GitLab UI's documentation guidelines, the MR has been reviewed by a Technical Writer.
  • If the MR changes a component's API, integration MR(s) have been opened in the following projects to ensure that the @gitlab/ui package can be upgraded quickly after the changes are released:
  • Added the ~"component:*" label(s) if applicable.

Closes #855 (closed)

Edited by Martin Wortschack

Merge request reports