ã°ã©ããã¼ã¿ã®å ¥ã£ãé åãããã¸ã¨ãã¹ã§ã°ã©ãã«ããã®ã§ããããã®åã«éå»ã®ã°ã©ããä¸ããå¡ãã¤ã¶ãã®ããã¤ã³ãã§ãã 以ä¸ãã³ã¼ãã§ããUIViewã®ãµãã¯ã©ã¹ãä½ããdrawRect()ãoverrideãã¾ãã 2016å¹´7æ20æ¥ãä¿®æ£ãã¾ããã override func drawRect(rect: CGRect) { // æç»æ¸ã¿ã®ã°ã©ããåé¤ã°ã©ããªã¹ãã«è¿½å ãã graphsToDelete += [self.graph] // æç»æ¸ã¿ã®ã°ã©ããæ¶ã for graph in graphsToDelete { graph.lineWidth = 2 graph.strokeWithBlendMode(CGBlendMode.Normal, alpha: 1.0) graph.stroke() } func point(n: Int, value: Float) ->
{{#tags}}- {{label}}
{{/tags}}