 
 class ISTimeline: UIView {
 
-    let diameter:CGFloat = 10.0
+    let diameter:CGFloat = 6.0
     let lineWidth:CGFloat = 2.0
-    let lineColor = UIColor.whiteColor()
-    let points = ["start", "point", "end"]
+    let lineColor = UIColor.lightGrayColor()
+    
+    let bubbleColor = UIColor.lightGrayColor()
+    let bubbleRadius:CGFloat = 2.0
+    let textColor = UIColor.whiteColor()
+    
+    var points = ["start", "point", "end"]
+    
+    let margin:CGFloat = 30
     
     override func drawRect(rect: CGRect) {
         let ctx: CGContextRef = UIGraphicsGetCurrentContext()!

        
        let shapeLayer = CAShapeLayer()
        shapeLayer.path = path.CGPath
        shapeLayer.strokeColor = UIColor.whiteColor().CGColor
        shapeLayer.fillColor = color.CGColor
        shapeLayer.lineWidth = lineWidth
        
        self.layer.addSublayer(shapeLayer)
    }
}

            default:
                offset = diameter / 2.0
            }
            offset -= self.bounds.origin.y
            offset -= margin / 2
            
            let segment:CGFloat = (self.bounds.height - margin) / CGFloat(points.count - 1)
            let y:CGFloat = segment * CGFloat(i) - offset
            let p = CGPointMake(self.bounds.origin.x, y)
            arr.append(p)
        }
        return arr
