You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EDIT:
I've figured out, that the valueForTouchPoint was performing a wrong transformation.
Disabling the .applying(pixelToValueMatrix) helped (I know I shouldn't comment it).
https://stackoverflow.com/questions/56666001/swift-charts-highlight-center-point
I am trying to get the data point (highlight) closest to the middle of visible area of the graph.
I am, however, receiving the closest to the lower-left corner of visible area.
Details on stackoverflow.
Thanks in advance for any help.
EDIT:
I've figured out, that the valueForTouchPoint was performing a wrong transformation.
Disabling the .applying(pixelToValueMatrix) helped (I know I shouldn't comment it).
The text was updated successfully, but these errors were encountered: