       return
     }
     
-    let xInterval = self.frame.width / CGFloat(_numVerticalLines + 1)
     var x: CGFloat =  0
     let y: CGFloat = 20
     

  private var _draw = false
  private var _numVerticalLines   = 0
  private var _numHorizontalLines = 0
  
  
  override func drawRect(rect: CGRect) {

    
    _draw = true
    _numVerticalLines = num;
    xInterval = self.frame.width / CGFloat(_numVerticalLines + 1)
    
    PositionController.instance().setNumberOfVerticalLines(_numVerticalLines, interval: xInterval)
  }
}