Easily create graphs that calculate percentiles
- Open your project on Xcode
- Go to Project Tab and select "Package Dependencies"
- Click "+" and search this package with use git clone url
- Don't change anything and click Add Package
- The package will be attached to the targeted application
import SwiftUIPercentChart
struct DemoView: View {
var body: some View {
SwiftUIPercentChart(data: [50, 40, 30, 20, 30, 50, 30, 10, 20, 50], percentValue: 350, theme: .ocean)
.frame(width: screenSize.width * 0.7, height: 10)
}
}