     @accessor 'data'
 
     ready: ->
-        @oldPieData = ''
+        #
 
     onData: (data) ->
-        @oldPieData = @oldPieData ? ''
+        oldPieData = piedata
 
         #$(@node).fadeOut().fadeIn()
         @container = $(@node).parent()


        path.transition().duration(750).attrTween('d', (d,i) ->
            `var i`
            theOldDataInPie = @oldPieData ? piedata
            console.log('@oldPieData',@oldPieData)
            # Interpolate the arcs in data space
            s0 = undefined
            e0 = undefined

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

        oldPieData = piedata
        return
