adobe / adobe/react-spectrum-charts

Trailing Sparklines on Big Number

Open
#702 0 comments 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

Give the option to choose if sparklines appear before or after the big number.

### 🤔 Expected Behavior?

When set to "before" orientation is set to "horizontal" the sparkline appears to the left of the big number.
When set to "before" orientation is set to "vertical" the sparkline appears above the big number.
When set to "after" orientation is set to "horizontal" the sparkline appears to the right of the big number.
When set to "after" orientation is set to "vertical" the sparkline appears to the below the big number.

### 💁 Possible Solution

_No response_

### 🔦 Context

This option may be needed when big numbers are used as headers for other charts

### 💻 Examples

_No response_

### 🧢 Your Company/Team

_No response_

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating the Big Number and sparkline rendering entry points and reviewing the existing orientation handling. Done means a before/after option places the sparkline left or right in horizontal layouts and above or below in vertical layouts.

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
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.