SwiftPieChart constructor

SwiftPieChart(
  1. DivElement container
)

Implementation

SwiftPieChart(this.container) :
      canvas = new CanvasElement()
{
  container.append(canvas);
  canvas.style.width='100%';
  canvas.style.height='200px';
  renderText('rendering...');
}