Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fix repeated label scaleBand issue #149

Merged
merged 3 commits into from
Feb 1, 2023

Conversation

joao-m-santos
Copy link
Contributor

Closes #145

📝 Description

  • Band scales now use index array as domain and save the labels as a property
  • Labels are then used for showing the axis label text, while all the mapping is done with the index array

💥 Is this a breaking change (Yes/No):

  • No
  • Yes (please describe the impact and migration path for existing Lume users)

📝 Additional Information

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.

* Band scales now use index array as domain
  and save the labels as a property
* Labels are then used for showing the axis
  label text, while all the mapping is done
  with the index array
@joao-m-santos joao-m-santos self-assigned this Feb 1, 2023
@joao-m-santos joao-m-santos requested a review from a team as a code owner February 1, 2023 10:11
@joao-m-santos joao-m-santos linked an issue Feb 1, 2023 that may be closed by this pull request
5 tasks
@netlify
Copy link

netlify bot commented Feb 1, 2023

Deploy Preview for adyen-lume ready!

Name Link
🔨 Latest commit 0e6e163
🔍 Latest deploy log https://app.netlify.com/sites/adyen-lume/deploys/63da3e218898100009dea1a5
😎 Deploy Preview https://deploy-preview-149--adyen-lume.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

govind-srinidhi
govind-srinidhi previously approved these changes Feb 1, 2023
@joao-m-santos joao-m-santos merged commit 57251bb into main Feb 1, 2023
@joao-m-santos joao-m-santos deleted the 145-scaleband-error-when-labels-are-repeated branch September 1, 2023 08:26
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.

ScaleBand error when labels are repeated
2 participants