biocore / biocore/empress

Continue legend overflow on new line

Open
#534 1 comment 0 reactions 0 assignees View on GitHub
feature request
Dominant language
JavaScript
Stars
56
Forks
32
PR merge metrics
No merged PRs in 30d

Description

It was brought up that some journals put restrictions on legend size. So, it would be nice to also allow legend text to continue on a new line.

We can set up a toggle on the legend that will either fit all legend text on single line (currently how its done) or continue legend text on a new line when overflow happens.

Contributor guide

Open the contributing guide

Research direction

Start by locating the legend rendering entry point in the JavaScript visualization code and inspect how single-line overflow is currently handled. Add the requested toggle behavior so legends can either remain on one line or continue onto a new line, then verify both display modes with the project's existing checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.