       [x, y].join ','
     ].join '\n'
 
-  pointParser: (cell) ->
+  rowPoints: (cell) ->
     {y, height} = @props.mark
     points = [
       [cell.x, y].join ','

    @props.mark.y += d.y / @props.scale.vertical
    @props.onChange @props.mark

  pointRow: (cell) ->
    {y, height} = @props.mark
    points = [
      [cell.x, y].join ','
      [cell.x + cell.width, y].join ','
      [cell.x + cell.width, y + height].join ','
      [cell.x, y + height].join ','
      [cell.x, y].join ','
    ].join '\n'

  pointFinder: (mark) ->
    {x, y, width, height} = mark
    [
      [x, y].join ','

  renderGrid: ->
    totalPoints = []
    for cell in @state.grid
      points = @cellPoints cell
      totalPoints.push points
    <polyline points={totalPoints.join()} />

