SwiftTimeChart constructor

SwiftTimeChart(
  1. CanvasElement canvas
)

Implementation

SwiftTimeChart(this.canvas) {
  canvas.width = 100;
  canvas.height = 100;
  canvas.style.width ='100%';
  canvas.style.height='200px';
  renderText('rendering...');
}