Inset data within Chart
- Dominant language
- Swift
- Stars
- 28k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Hey guys,
I was wondering if there is a way to inset the data points itself to accomplish a layout as in the following design:

The only thing I got so far is setting an extra offset (via setExtraOffset) but that insets the entire Chart. I'd like to only inset the first and last data point.
Contributor guide
Research direction
Start by tracing how setExtraOffset affects chart layout and where the first and last data points are positioned. Compare the current whole-chart inset with the requested layout, then determine how the chart can inset only those endpoints. Done means the first and last data points have the requested spacing without shifting the entire chart.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- data-visualization, mobile-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100