Ios swift – Charts – How to handle x-axis duplicate SwiftUI
I understood that I have to use the following line but I don't know how to use it in SwiftUI : chart.xAxis.forceLabelsEnabled = true Here is my charts : var sampleData: [Int] = [0, 1, 2, 3, 4, 5, 6,…