Don_Mag icon

Untitled

Don_Mag | PRO | 09/03/23 03:09:22 PM UTC | 1 ⭐ | 8237 👁️ | Never ⏰ | []
Swift |

410 B

|

None

|

1 👍

/

0 👎

 
    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()
    }
 

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎