Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func chartViewStockClose(with timeFrame: TimeFrame) {
- print("chartViewStockClose called") // Debug
- // generate some sample close values
- var closeVals: [Double] = []
- // steep curve
- closeVals = [10, 16, 12, 15, 14, 13, 11]
- // shallow line
- //closeVals = [10, 11, 12, 13, 14, 15, 16]
- closeVals.forEach { v in
- ArrayStockClose.append(("", v))
- }
- initializeGraph()
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement