Skip to content

Add correctly spelled chart axis label props#36242

Closed
KirtiRamchandani wants to merge 1 commit into
microsoft:masterfrom
KirtiRamchandani:fix/34872-chart-label-props
Closed

Add correctly spelled chart axis label props#36242
KirtiRamchandani wants to merge 1 commit into
microsoft:masterfrom
KirtiRamchandani:fix/34872-chart-label-props

Conversation

@KirtiRamchandani
Copy link
Copy Markdown

Previous Behavior

ICartesianChartProps exposed several public axis label props with the misspelling Lables, such as showXAxisLablesTooltip, wrapXAxisLables, rotateXAxisLables, showYAxisLablesTooltip, and showYAxisLables.

New Behavior

Adds correctly spelled aliases for those public props:

  • showXAxisLabelsTooltip
  • wrapXAxisLabels
  • rotateXAxisLabels
  • showYAxisLabelsTooltip
  • showYAxisLabels

The existing misspelled props remain supported and are marked deprecated, so this is backwards-compatible. Runtime handling now prefers the corrected prop when both spellings are provided, and falls back to the legacy prop otherwise.

Related Issue(s)

Fixes #34872

Validation

  • corepack yarn nx run react-charting:build
  • corepack yarn nx run react-charting:lint
  • corepack yarn jest --runInBand src\components\VerticalBarChart\VerticalBarChart.test.tsx src\components\HorizontalBarChartWithAxis\HorizontalBarChartWithAxis.test.tsx src\components\DeclarativeChart\PlotlySchemaAdapterUT.test.tsx
  • corepack yarn beachball check --branch origin/master

@KirtiRamchandani KirtiRamchandani marked this pull request as ready for review May 24, 2026 15:03
@KirtiRamchandani KirtiRamchandani requested a review from a team as a code owner May 24, 2026 15:03
@KirtiRamchandani
Copy link
Copy Markdown
Author

Closing this because I missed the already-open PR #36216 for the same issue. Keeping both open would create duplicate review work for maintainers. Thanks, and apologies for the noise.

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.

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

1 participant