Skip to content

fix chart axis label prop spellings#36216

Open
15MariamS wants to merge 2 commits into
microsoft:masterfrom
15MariamS:chart-axis-label-props
Open

fix chart axis label prop spellings#36216
15MariamS wants to merge 2 commits into
microsoft:masterfrom
15MariamS:chart-axis-label-props

Conversation

@15MariamS
Copy link
Copy Markdown
Contributor

@15MariamS 15MariamS commented May 18, 2026

Summary

Fixes #34872.

Adds correctly spelled axis label prop aliases for chart components while keeping the existing misspelled prop names as deprecated compatibility aliases:

  • showXAxisLabelsTooltip
  • wrapXAxisLabels
  • rotateXAxisLabels
  • showYAxisLabels
  • showYAxisLabelsTooltip

This covers both @fluentui/react-charting and @fluentui/react-charts, updates the shared chart logic to normalize the new and legacy names once, updates API baselines, and adds targeted render coverage for the new prop names.

Validation

  • git diff --check

I was not able to run package tests locally because the dependency install did not complete in this checkout.

@15MariamS 15MariamS marked this pull request as ready for review May 18, 2026 02:15
@15MariamS 15MariamS requested a review from a team as a code owner May 18, 2026 02:15
Copy link
Copy Markdown
Contributor

@AtishayMsft AtishayMsft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this change

@15MariamS
Copy link
Copy Markdown
Contributor Author

Why this change

This fixes #34872. These are public API props and a few of them have Lables misspelled in the name. This keeps the existing misspelled props working as deprecated aliases, and adds the correctly spelled versions so new usage doesn’t have to copy the typo.

@15MariamS 15MariamS requested a review from AtishayMsft May 20, 2026 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Misspellings of word label ("lable") in public facing properties

2 participants