ts: true,
  pointerEvents: true,
  touchEvents: true,
});

const chartView = canvasView.appendChild(swim.ChartView);
const topAxisView = chartView.topAxis.insertView();
const rightAxisView = chartView.rightAxis.insertView();
chartView.bottomAxis.insertView();
chartView.leftAxis.insertView();

chartView.xRangePadding.set([2, 2]);
chartView.yRangePadding.set([2, 2]);
chartView.fitAspectRatio.set(1);
chartView.domainTracking(true);
chartView.xScaleGestures(true);
chartView.font.set("12px sans-serif");

topAxis