ing",
        size: n2,
        color: '#EEE'
      }
    ]
  })
  pie.innerPadding = 0.8;
  pie.startAngle = Math.PI;
  pie.render();

  hx.select(node)
    .append('div')
    .class('status-text')
    .text(hx.format.si(3)(n1/count*100) + '%')
    .style('')

  // hack until we make graphs resize automatically
  setTimeout(function(){pie.render()}, 20);
}

dashboard = new hx.Dashboard('#example');

widget1 = dashboard.createWidget({ title: 'Widget 1', showMenu: true, showDragControl: true, height: "250px"