In theory that does work maybe kind of in some cases. I did test it myself at some point and it did kind of work, but as soon as I add chartXVisibleDomain to my real app it freezes. If I remove that line it works ok but the chart is as buggy as ever. Any tested value causes it to freeze as soon as the chart should be shown (by default the chart that's buggy is in a second tab in a TabView). Freezes both in the simulator and on device.
By now I could have created my bar chart from scratch instead of fighting with this buggy mess.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: