   render: ->
     (div {className: 'svgGraphView'},
       (svg {width: @props.width, height: @props.height},
+        @renderAxisLines()
         @renderLineData()
-        @renderAxisLines()
         @renderXLabel()
         @renderYLabel()
       )

    "M #{data}"

  getPathPoints: ->
    rangex = 20
    x0 = if @isExponential() then 1 else 0
    data = _.range(x0,rangex)
    miny = Infinity
    maxy = -Infinity
    data = _.map data, (x) =>
      scope = {in: x, out: 0, maxIn: rangex}
      try
        y = math.eval @props.formula, scope
        if y < miny then miny = y


    # if we aren't doing exponential graphing, then keep
    # then use the range of x for axis scaling
    scaley = @getYScale(rangex, rangey)
    data = _.map data, (d) ->
      {x,y} = d
      x = x / rangex
      y = y / scaley
      {x: x, y: y}
    data

  renderXLabel: ->
