diff --git a/README.md b/README.md
index 8d28ae0..8ceaf1b 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,6 @@ import StockCharts
LineChartView(data: [Double], dates: [String]?, hours: [String]?, dragGesture: Bool?)
```
-#### Arguments
```swift
data: [120.3, 121.0, 132.4, ...]
dates: ["yyyy-MM-dd", "2021-01-01", "2021-01-02", ...]
@@ -30,3 +29,40 @@ hours: ["10:20", "10:21", "10:22", ...] // It could be any format
dragGesture: false // By default is true
```
+
+### Capsule chart
+```swift
+CapsuleChartView(percentageOfWidth: CGFloat)
+// percentageOfWidth: must be 0 <= x <= 1
+```
+
+#### Example
+```swift
+import SwiftUI
+import StockCharts
+
+struct ContentView: View {
+ var body: some View {
+ RoundedRectangle(cornerRadius: 25)
+ .frame(width: 400, height: 120)
+ .foregroundColor(.white)
+ .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)
+ .padding(.top)
+ }
+ .padding()
+ )
+ }
+}
+```
+
+
+