         return (min,max)
     }
     
-    private func getPercentageInRange(d : Double, min : Double, max : Double) -> Double {
+    private func getPercentageInRange(d : Double, min : Double, max : Double) -> CGFloat {
         let delta = max - min
         if delta != 0 {
-            let percentage = d / delta
+            let percentage = CGFloat(d / delta)
             return percentage
         }
         return 0
     }
     
-    private func drawBarsIfNumbers() {
+    private func drawLine(color:UIColor,x0:CGFloat,y0:CGFloat,x1:CGFloat,y1:CGFloat) {
+        let path = UIBezierPath()
+        path.moveToPoint(CGPointMake(x0, y0))
+        path.addLineToPoint(CGPointMake(x1, y1))
+        path.lineWidth = 0.5
+        color.setStroke()
+        path.stroke()
+    }
+    
+    private func drawLines(color:UIColor) {
+        for i in 0..<self.count() {
+            let y = CGFloat(i * itemHeight)
+            drawLine(color, x0: 0, y0: y, x1: viewWidth, y1: y)
+        }
+    }
+    
+    private func drawBarsIfNumbers(xPos:CGFloat) {
         if arrayHasNumber() {
             var min : Double = Double.NaN
             var max : Double = Double.NaN

            if ( min > 0 ) {
                min = 0
            }
            for i in 0..<self.count() {
                let y = i * itemHeight
                let barHeight : CGFloat = CGFloat(itemHeight - 2)

import UIKit

public class JRMutableArray : NSObject {
    private let itemHeight = 12
    private let viewWidth : CGFloat = 600
    private var storage : NSMutableArray
    private var queue : dispatch_queue_t
    public var textColor : UIColor?
