 
 
 
-    console.log(txset)
+    #find the maximum value
+    xsteps = possibleX.length - 1
+    
+    #scale y to 10 steps 
+
+    ysteps = Math.ceil(largestY / Math.ceil(largestY / 10));
+
 
     ycoords = yset;
     xcoords = txset


    for item in xpoints
      index = item.attr("text")
      if index % 1 == 0
        item.attr("text", possibleX[index])
        item.attr({transform: "r45"});

    #assign each possible x value a numerical index
    possibleX = _.unique(_.flatten(xset))

    largestY = _.max(_.flatten yset, (i) ->
      return i;
    );


    xdata = [];
