                         .attr('width', width)
                         .attr( 'height', (d) -> return y(d.num_keys))
                         .attr( 'title', (d) -> return 'Shard:'+d.boundaries+'<br />'+d.num_keys+' keys')
+                
 
                     arrow_width = 4
                     arrow_length = 7


                    data_pie = [data_total-data_in_memory, data_in_memory]

                    # Remove transition for the time being. We have to use transition with opacity only the first time
                    # For update, we should just move/extend pieces, too much work for now
                    #@.$('.loading_text-svg').fadeOut '600', -> $(@).remove() 
                    @.$('.loading_text-pie_chart').css 'display', 'none'

                    arc = d3.svg.arc().innerRadius(0).outerRadius(r)
                    svg = d3.select('.pie_chart-data_in_memory').attr('width', width).attr('height', height).append('svg:g').attr('transform', 'translate('+width/2+', '+height/2+')')
                    arcs = svg.selectAll('path').data(d3.layout.pie().sort(null)(data_pie)).enter().append('svg:path').attr('fill', (d,i) -> color(i)).attr('d', arc)

                    # No transition for now
                    #arcs = svg.selectAll('path').data(d3.layout.pie().sort(null)(data_pie)).enter().append('svg:path').attr('fill', (d,i) -> color(i)).attr('d', arc).style('opacity', 0).transition().duration(600).style('opacity', 1)
            return @ # Just to make sure that d3 doesn't return false

        render_data_repartition: (force_render) =>

        rebalance_shards: (event) =>
            event.preventDefault()
            confirmation_modal = new UIComponents.ConfirmationDialogModal
            confirmation_modal.render("Are you sure you want to rebalance the shards for the namespace "+@model.get('name')+"? This operation might take some time.",
                "",
                {},
                undefined)
