adobe / adobe/react-spectrum-charts

Legend Wrap

Open
#786 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
127
Forks
29
Avg merge
7d 2h
Merged PRs (30d)
21

Description

### Provide a general summary of the feature here

Create an option to wrap legend labels if they exceed the legend label limit.

### 🤔 Expected Behavior?

Should avoid mid-word wrapping. Wrap + truncation handling.

### 💁 Possible Solution

_No response_

### 🔦 Context

Different use-cases require different truncation methods.

### 💻 Examples

_No response_

### 🧢 Your Company/Team

_No response_

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by locating the legend label limit and existing truncation or wrapping entry points, then verify the behavior for long labels. Done means labels can wrap without splitting words and wrapping works consistently with truncation.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.