willdale / SwiftUICharts

A charts / plotting library for SwiftUI. Works on macOS, iOS, watchOS, and tvOS and has accessibility features built in.
MIT License
837 stars 103 forks source link

Library not behaving correctly for RTL, check the attached SS. #229

Open AakashGeidea opened 1 year ago

AakashGeidea commented 1 year ago

In my application i have added grouped bar graph as well as grouped line chart, both of these are in scroll views to enable horizontal scrolling behaviour. It seems to be working fine for LTR but for RTL it's not indicating points correctly.
IMG_EBD0BD27BD9C-1

Also while sliding on graph to check values on points is giving mirrored result for RTL, Indicator points are moving in opposite direction to my sliding finger,

https://user-images.githubusercontent.com/132745025/236623812-87c72ae8-6f34-4483-9c0c-98dca5759643.MP4

check this video.

Attaching one more SS for showing wrong indicator with value. As you can see in image i am pointing to first item stack graph but it's showing me values for last element. Simulator Screen Shot - iPhone 14 - 2023-05-06 at 18 01 16

AakashGeidea commented 1 year ago

Hi @willdale , hope you are doing well. Could you please update anything regarding this BUG? Any tentative time to get this resolve?