Skip to content

Fix Config#2685

Open
Viseghoh wants to merge 1 commit intodevfrom
DEV-12666
Open

Fix Config#2685
Viseghoh wants to merge 1 commit intodevfrom
DEV-12666

Conversation

@Viseghoh
Copy link
Copy Markdown
Collaborator

Summary

The tooltip path was explicity opting into abbreviation instead of staying axis only. Fixed that by flipping from true to false.

Copilot AI review requested due to automatic review settings March 31, 2026 21:55
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates chart tooltip number formatting to avoid abbreviating values in tooltips (while keeping axis/tick abbreviation behavior unchanged), aligning tooltip display with the expected “full value” presentation.

Changes:

  • Updated useTooltip to pass shouldAbbreviate=false when formatting tooltip values via formatNumber.
  • Updated BarChart “additional columns” tooltip formatting to pass shouldAbbreviate=false.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/chart/src/hooks/useTooltip.tsx Stops opting tooltips into abbreviated formatting when calling formatNumber for tooltip values.
packages/chart/src/components/BarChart/helpers/useBarChart.ts Ensures additional tooltip column values are formatted without abbreviation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants