# HG changeset patch # User Dennis C. M. # Date 1630328446 -3600 # Node ID 6e1cebd56cb10b7453113b77eaf4c15e8ac68b17 # Parent 462fb542f38638c3073d03594f4240a4179c8ced# Parent 6d53542f6f9e16de51bd53a258873bf9e9fec5d1 Merge pull request #19 from JannikArndt/patch-1 Small README fixes committer: GitHub diff -r 462fb542f386 -r 6e1cebd56cb1 README.md --- a/README.md Mon Aug 09 17:09:20 2021 +0100 +++ b/README.md Mon Aug 30 14:00:46 2021 +0100 @@ -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()