Skip to content

Left margin on "views per day" truncates axis labels if a views on a day exceed 9,999 views #362

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

Closed
yurivish opened this issue Feb 10, 2022 · 1 comment
Labels
Bug Something isn't working UI/ UX User interface or User Experience related

Comments

@yurivish
Copy link

yurivish commented Feb 10, 2022

Describe the bug
image

To Reproduce
Steps to reproduce the behavior:

  1. Go to a notebook with more than 9,999 views on one day within the last 30 days
  2. Click on 'Open insights pane (👁)'
  3. See error

Expected behavior
A wider left margin would give more room for digits. Alternatively, overflow: visible; might work? Or maybe switching to a "K" formatting.

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome
  • Version 98.0

Additional context
There's an open issue for adaptive margins based on tick length in the Plot repo: observablehq/plot#383

@yurivish yurivish changed the title Left margin on "views per day" truncates axis labels if a views on a day exceed 10,000 views Left margin on "views per day" truncates axis labels if a views on a day exceed 9,999 views Feb 10, 2022
@mbostock
Copy link
Member

💪💪

@CobusT CobusT added Bug Something isn't working UI/ UX User interface or User Experience related labels Feb 10, 2022
@CobusT CobusT closed this as completed Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working UI/ UX User interface or User Experience related
Projects
None yet
Development

No branches or pull requests

3 participants