Skip to content

Multi langual support , label position within the graph#653

Open
abuzar-sp wants to merge 6 commits intoFormidableLabs:mainfrom
admin-sana:sprint-2-arabic-trs-label-position
Open

Multi langual support , label position within the graph#653
abuzar-sp wants to merge 6 commits intoFormidableLabs:mainfrom
admin-sana:sprint-2-arabic-trs-label-position

Conversation

@abuzar-sp
Copy link
Copy Markdown

Description

Fixes # (issue)

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Checklist: (Feel free to delete this section upon completion)

  • I have included a changeset if this change will require a version change to one of the packages.
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have run yarn run check:code and all checks pass
  • I have created a changeset for new features, patches, or major changes
  • I have added tests that prove my fix is effective or that my feature works
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

…s distribution

Updated the transformInputData function to disable the isNice option, ensuring that explicit tickValues and tickCount are honored. Additionally, modified the yTicks calculation to evenly distribute tick values across the data domain, improving alignment with the data.
Updated tick generation in CartesianChart, XAxis, and transformInputData to utilize exactTicksFromScale for better accuracy during zoom and rescaling. Introduced DEFAULT_TICK_COUNT for fallback scenarios, ensuring consistent tick distribution across axes.
Enhanced the label positioning logic in the YAxis component to better align labels with ticks based on font settings. Adjusted calculations for labelY and canFitLabelContent to ensure proper placement and visibility within the chart bounds.
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 26, 2026

@abuzar-sp is attempting to deploy a commit to the formidable-labs Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 26, 2026

⚠️ No Changeset found

Latest commit: 3120ccf

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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.

1 participant