       maxSize /= divisions
       offset   = space/2 - maxSize/2 - padding
 
-      x = d3.scale.linear()
+      x = d3.scale.ordinal()
         .domain [0, divisions-1]
         .range [-offset, offset]
 

  zero = 0

  maxBars = d3.max nested, (b) -> b.values.length
  for p in nested

    if vars.axes.stacked
      bars = 1


    for d, i in p.values

      if vars.axes.stacked
        mod = 0
      else if vars[discrete].persist.position.value
        mod = x fetchValue(vars, d, vars.id.value)
      else
        mod = x(i % bars)

      oppMethod = vars[opposite]

      if vars.axes.stacked
