Mercurial > public > stock-charts
comparison Sources/StockCharts/LineChart/Helpers/LinePath.swift @ 71:c37c93ba3f37
Fixing: Modifying state during view update
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Sat, 08 May 2021 18:48:49 +0200 |
parents | c19e9c03e09d |
children | 552963ee4dc4 |
comparison
equal
deleted
inserted
replaced
70:c19e9c03e09d | 71:c37c93ba3f37 |
---|---|
32 | 32 |
33 // Append current point to an array. Later will be used for Drag Gesture | 33 // Append current point to an array. Later will be used for Drag Gesture |
34 pathPoints.append(path.currentPoint!) | 34 pathPoints.append(path.currentPoint!) |
35 } | 35 } |
36 | 36 |
37 self.pathPoints = pathPoints | |
38 | |
37 return path | 39 return path |
38 } | 40 } |
39 | 41 |
40 /* | 42 /* |
41 Get data -> normalize it -> 0 <= output <= 1 | 43 Get data -> normalize it -> 0 <= output <= 1 |