How to customise the zooming of Line Chart
- Dominant language
- Swift
- Stars
- 28k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Hi guys, I have a problem. I am using the newest version of Xcode, Swift 5.1 and Charts pod. I turned on the zooming of the LineChart and I want to customise this zooming. Here is a picture of the chart https://imgur.com/a/3Cpi89v . I want the zooming to be only on the edges of the chart, not everywhere. What I mean, If the user zoom in the spot that is close to the bottom part, only to zoom into the edges of the line, like this: https://imgur.com/a/W50yMXP, only for the red areas. The same should be for the top part. Is there any way to do this.
Contributor guide
Research direction
Start by reviewing how LineChart zooming works in the Charts pod and how Swift 5.1 exposes that behavior. The issue does not name files or tests; done would mean zooming is constrained to the chart edges as shown in the referenced images, with the behavior verified on the affected iOS chart.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100