           .outerRadius(radiuso)
           .innerRadius(radiusi)
 
-        #svg = d3.select(@node).append("svg:svg")
+        svg = d3.select(@node).append("svg:svg")
+            .attr("width", width)
+            .attr("height", height)
+            .append("svg:g")
+            .attr("transform", "translate(" + width/2 + "," + height/2 + ")") 
+        #svg = d3.select(@node).append("svg")
         #    .attr("width", width)
         #    .attr("height", height)
-        #    .append("svg:g")
+        #    .append("g")
         #    .attr("transform", "translate(" + width/2 + "," + height/2 + ")") 
-        svg = d3.select(@node).append("svg")
-            .attr("width", width)
-            .attr("height", height)
-            .append("g")
-            .attr("transform", "translate(" + width/2 + "," + height/2 + ")") 
 
         # end Build pie
         #console.log("update pie", data);

                return "M" + (d.r-2) + "," + d.b + "L" + (d.l+2) + "," + d.b + " " + d.cx + "," + d.cy
            
        )
  render: (data) ->

        if !data
          data = @get("value")

            b = i(t);
            return $(@node).arc(b)

  render: (data) ->
        #console.log("update pie", data);

        if !data
