Inverted y-axis Area chart
- Dominant language
- Swift
- Stars
- 28k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
> ℹ Please fill out this template when filing an issue.
> All lines beginning with an ℹ symbol instruct you with what info we expect. You can delete those lines once you've filled in the info.
>
> Per our [*CONTRIBUTING guidelines](https://github.com/jjatie/Charts/blob/master/CONTRIBUTING.md), we use GitHub for
> bugs and feature requests, not general support. Other issues should be opened on Stack Overflow with the tag [`ios-charts`.](https://stackoverflow.com/questions/tagged/ios-charts)
>
> Please remove this line and everything above it before submitting.
* [ ] I've read, understood, and done my best to follow the [*CONTRIBUTING guidelines](https://github.com/jjatie/Charts/blob/master/CONTRIBUTING.md).
## What did you do?
ℹ Please replace this with what you did.

## What did you expect to happen?
ℹ Please replace this with what you expected to happen.
I want to complete a chart like this, where the upper y-axis on the left is 0 and the lower is 100. I tried to set leftAxis.inverted to true.
But I got the picture below. What I want is that after the y-axis is reversed, the lower part is still colored.

How should I set it up
## What happened instead?
ℹ Please replace this with of what happened instead.
## Charts Environment
**Charts version/Branch/Commit Number:**
**Xcode version:**
**Swift version:**
**Platform(s) running Charts:**
**macOS version running Xcode:**
## Demo Project
ℹ Please link to or upload a project we can download that reproduces the issue.
Contributor guide
Research direction
Start by reproducing the Area chart shown in the issue with leftAxis.inverted set to true, using the attached images as the expected and actual behavior. Trace how axis inversion affects the area fill, then verify that the lower portion remains colored after inversion; the issue provides no file, test, version, or demo-project entry point.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- data-visualization, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100