Skip to content

fix: re-render legend when isSecondary changes#208

Merged
pan-kot merged 1 commit intocloudscape-design:mainfrom
Pixselve:fix-legend-change
Apr 22, 2026
Merged

fix: re-render legend when isSecondary changes#208
pan-kot merged 1 commit intocloudscape-design:mainfrom
Pixselve:fix-legend-change

Conversation

@Pixselve
Copy link
Copy Markdown
Contributor

Description

Previously, updating a series to the left axis to the right axis updated the chart, but not the legend. This was due to a missing check in the ChartExtraLegend.

How has this been tested?

2026-04-21_11-54-22.mp4
Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Pixselve Pixselve requested a review from a team as a code owner April 21, 2026 10:55
@Pixselve Pixselve requested review from amanabiy and removed request for a team April 21, 2026 10:55
@pan-kot pan-kot added this pull request to the merge queue Apr 22, 2026
Merged via the queue into cloudscape-design:main with commit 377e666 Apr 22, 2026
42 of 44 checks passed
@Pixselve Pixselve deleted the fix-legend-change branch April 23, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants