Mercurial > public > stock-charts
diff README.md @ 60:e16e6bdaa31d
Add dragGesture argument
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Fri, 07 May 2021 12:20:48 +0200 |
parents | e54c96a5c652 |
children | 3d4c995845fd |
line wrap: on
line diff
--- a/README.md Mon May 03 17:51:39 2021 +0200 +++ b/README.md Fri May 07 12:20:48 2021 +0200 @@ -26,7 +26,7 @@ ### Line chart ```swift -ChartView(data: [Double], dates: [String]?, hours: [String]?) +LineChartView(data: [Double], dates: [String]?, hours: [String]?, dragGesture: Bool?) ``` #### Arguments @@ -34,5 +34,6 @@ data: [120.3, 121.0, 132.4, ...] dates: ["yyyy-MM-dd", "2021-01-01", "2021-01-02", ...] hours: ["10:20", "10:21", "10:22", ...] // It could be any format +dragGesture: false // By default is true ``` <img width="374" alt="LineChartVideo" src="https://user-images.githubusercontent.com/66180929/116899623-137c6e80-ac38-11eb-8ec0-e678aea54062.gif">