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


        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

        #

    onData: (data) ->
        @oldPieData = ''

        #$(@node).fadeOut().fadeIn()
        @container = $(@node).parent()
