     interval = ticking.auto_interval(start, end)
     ticks = ticking.auto_ticks(null, null, start, end, interval)
 
-    loc = @get('guidespec').location
+    loc = @get('guidespec').location ? 'min'
     if _.isString(loc)
       if loc == 'left' or loc == 'bottom'
         loc = 'start'


    [start, end] = @get('bounds')

    loc = @get('guidespec').location
    cstart = cross_range.get('start')
    cend = cross_range.get('end')


    ys = new Array(2)
    coords = [xs, ys]

    loc = @get('guidespec').location ? 'min'
    if _.isString(loc)
      if loc == 'left' or loc == 'bottom'
        loc = 'start'
