ChartsOrg / ChartsOrg/Charts

swiftUI charts not registering taps

Open
#4,600 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

* [x] 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?

followed a swiftUI chart tutorial reccommended on your github page https://www.youtube.com/watch?v=csd7pyfEXgw

..Created a very simple line chart using UIViewRepresentable and tried tapping on the chart points

## What did you expect to happen?

i expected points to register the touch

## What happened instead?

only some points are registering the touches

## Charts Environment

**Charts version/Branch/Commit Number:**
4.0.1 and 4.0.0 ( same version as the tutorial)

**Xcode version:**
12.4

**Swift version:**
5
**Platform(s) running Charts:**
ios
**macOS version running Xcode:**
11.0.1
## Demo Project
https://github.com/gmhcode/ChartsFrameSwiftUI
[ChartsFrameSwiftUI.zip](https://github.com/danielgindi/Charts/files/6119076/ChartsFrameSwiftUI.zip)

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.