Imageomics / Imageomics/dashboard-prototype

Adjust histogram x-axis labels to avoid reducing size of histogram

Open
#57 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted question UX
Dominant language
Python
Stars
6
Forks
2
PR merge metrics
No merged PRs in 30d

Description

When labels on the x-axis of the histogram are too long, they get printed in full and the histogram gets shrunken down (as in sample image below). Labels shouldn't be blindly truncated, but also can't be forced too small to be legible. An abbreviation algorithm could be a solution, though this could be quite complicated. One potential solution might be to add a button when the labels are over a certain length to truncate them or leave as-is.

Investigate: dash x-axis label solutions (beyond text size), abbreviation options.

histogram image example

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the dashboard's histogram rendering and investigate the x-axis label handling, then review Dash x-axis label solutions and abbreviation options. Done means long labels no longer shrink the histogram while remaining legible, with the chosen behavior defined for labels over the relevant length.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.