ChartsOrg / ChartsOrg/Charts

Data lost on pinch gesture

Open
#4,635 1 comment 0 reactions 0 assignees View on GitHub
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?

The chart was set and I've used a pinch gesture in order to zoom in the chart.

## What did you expect to happen?

I was expecting that the zoomed version of the chart is shown

## What happened instead?

The data gets lost, graph doesn't exist and then I scroll with finger, the data is presented normally.

## Charts Environment

**Charts version/Branch/Commit Number: 3.6.0
**Xcode version:12.5
**Swift version:5.0+
**Platform(s) running Charts: iOS

https://user-images.githubusercontent.com/981526/116195059-fcb6b300-a731-11eb-9c8e-c4c82b624cae.mp4

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.