# HG changeset patch # User Jannik Arndt # Date 1630237206 -7200 # Node ID 6d53542f6f9e16de51bd53a258873bf9e9fec5d1 # Parent 462fb542f38638c3073d03594f4240a4179c8ced Small README fixes Hi! 👋 I just tried out this lib. It's really easy to integrate 👍 There are two compile errors in the Capsule Chart example, and the `dates` and `hours` in the `LineChartController` would be less surprising with a small comment. Here's my proposal how to make it even easier to get started 😊 Best Jannik committer: GitHub diff -r 462fb542f386 -r 6d53542f6f9e README.md --- a/README.md Mon Aug 09 17:09:20 2021 +0100 +++ b/README.md Sun Aug 29 13:40:06 2021 +0200 @@ -27,8 +27,8 @@ ```swift LineChartController( prices: [Double], - dates: [String], - hours: [String], + dates: [String]?, // format: yy-MM-dd + hours: [String]?, // has to correspond to dates labelColor: Color, indicatorPointColor: Color, showingIndicatorLineColor: Color, @@ -68,16 +68,16 @@ RoundedRectangle(cornerRadius: 25) .frame(width: 400, height: 120) .foregroundColor(.white) - .shadow(color: Color(,.gray).opacity(0.15), radius: 10) + .shadow(color: Color(.gray).opacity(0.15), radius: 10) .overlay( VStack(alignment: .leading) { Text("Dennis Concepcion") .font(.title3) .fontWeight(.semibold) - + Text("Random guy") - CapsuleChartView(percentageOfWidth: 0.6) + CapsuleChartView(percentageOfWidth: 0.6, style: CapsuleChartStyle(capsuleColor: Color.blue)) .padding(.top) } .padding()