adobe / adobe/react-spectrum-charts

Support continuous legend for Line & Bar & Area Charts

Open
#214 0 comments 0 reactions 0 assignees View on GitHub
needs grooming rsc:Legend
Dominant language
TypeScript
Stars
127
Forks
29
Avg merge
7d 2h
Merged PRs (30d)
21

Description

### Provide a general summary of the feature here

Currently for line, bar and area charts, their color legend does not support showing quantitative data. In other words, continuous legend is not supported. See the picture below where the quantitative data is interpreted as nominal in the legend on the right:
![image](https://github.com/adobe/react-spectrum-charts/assets/4145281/8ee68cd9-2224-461b-ba3d-72d4545ee767)

### 🤔 Expected Behavior?

Continuous legend is supported.
![Screenshot 2024-04-02 at 1 46 53 PM](https://github.com/adobe/react-spectrum-charts/assets/4145281/a33ccabb-ac1c-493b-a061-94bc888d6280)

### 💁 Possible Solution

_No response_

### 🔦 Context

This feature is needed for migrating the UDD charts to use RSC.

### 💻 Examples

_No response_

### 🧢 Your Company/Team

Adobe/AEP Reporting Experience

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points, so begin by locating the legend and quantitative color-scale handling for line, bar, and area charts. Done means these chart types render quantitative data with a continuous legend rather than a nominal legend, supporting the shown expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.