       .attr('width', @columnBand.rangeBand())
       .transition().delay(200).duration(500)
       .attr('y', (d,i) =>
-        current_y = 0 if i is 0
+        current_y = @height if i is 0
         h = height(d)
-        current_y += h
-        current_y - h
+        current_y -= h
+        current_y
       ).attr('class', (d,i) => "vg")
       .attr('height', height)
     @series_3.exit().remove()

      .append('rect')
      .attr('class', 'border')
    @borders.style('stroke', 'white')
      .style('stroke-width', '2pt')
      .style('fill', 'none')
      .attr('x', 0)
      .attr('y', @height)




window.chart = new ZVG.Column
chart.randomizeData()
chart.render()
