ChartsOrg / Charts

Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chartValueSelected not calling for all clicking on hole in graph in v.4.0.2 (v3.6.0 works perfectly)

tarasChernysh opened this issue · comments

What did you do?

ℹ I try to create line chart.

What did you expect to happen?

ℹ When click on hole view I want to see view with value of this graph.

What happened instead?

ℹ I see this view with not from all hole in graph. It works perfectly with Charts v3.6.0 .
chartValueSelected does not call for all hole view.
chartValueNothingSelected calls instead of chartValueSelected

Charts Environment

Charts version/Branch/Commit Number: master, v4.0.2
Xcode version: 13.2
Swift version: 5
Platform(s) running Charts: iOS
macOS version running Xcode: Monterey (12.3)

Demo Project

ℹ Please link to or upload a project we can download that reproduces the issue.

Simulator.Screen.Recording.-.iPhone.11.Pro.Max.-.2022-03-28.at.15.24.04.mp4

can we see the project if it's available on github

@abdorizak that project is private. So I made a little demo with some logic from that project.
In demo I use v4.0.2. When I use v3.6.0 - works as expected. You can check the same result as I showed in video before.
Here is repo https://github.com/tarasChernysh/GraphTest

I found PR that solving my issue
#4719

commented

seems the new release contain a possible fix from #4719? try 4.0.3