     @accessor 'data'
 
     ready: ->
-        @oldPieData = ''
+        #@oldPieData = ''
 
     onData: (data) ->
 

        path = pathGroup.selectAll('path.pie').data(piedata)
        path.enter().append('path').attr('class', 'pie').attr('fill', (d, i) -> color i)

        path.transition().duration(750).attrTween('d', (d,i) ->
            theOldDataInPie = @oldPieData ? piedata
            console.log('@oldPieData',@oldPieData)
            # Interpolate the arcs in data space
            s0 = undefined
            e0 = undefined
            if theOldDataInPie[i]
                s0 = theOldDataInPie[i].startAngle
                e0 = theOldDataInPie[i].endAngle
            else if !theOldDataInPie[i] and theOldDataInPie[i - 1]
                s0 = theOldDataInPie[i - 1].endAngle
                e0 = theOldDataInPie[i - 1].endAngle
            else if !theOldDataInPie[i - 1] and theOldDataInPie.length > 0
                s0 = theOldDataInPie[theOldDataInPie.length - 1].endAngle
                e0 = theOldDataInPie[theOldDataInPie.length - 1].endAngle
            else
                s0 = 0
                e0 = 0
            `var i`
            i = d3.interpolate({
                startAngle: s0
                endAngle: e0
            },
                startAngle: d.startAngle
                endAngle: d.endAngle)
            (t) ->
                b = i(t)
                return arc b
        )
        path.exit()
            #.transition()

            .attr('font-size',(if typeof totalTickets isnt 'string' then radiusi + 'px' else '2em'))
            .style('opacity', 1)

        #@oldPieData = piedata
        return
