Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Chart.js</title>
<style type="text/css" media="all">
label {
user-select: none;
display: inline-flex;
align-items: center;
}
</style>
<script type="module" crossorigin src="./assets/chartjs-7fd89fd7.js"></script>
<link rel="modulepreload" crossorigin href="./assets/flights-airports-9a9e6422.js">
</head>
<body>
<div id="app">
<button id="run-all" type="button">Run all scenario (development only)</button>
<button id="prepare" type="button">Prepare data</button>
<button id="add-scatter-chart-button" type="button">Draw a scatter chart</button>
<button id="open-tooltip" type="button">Open tooltips</button>
<button id="reset" type="button">Reset</button>
<label><input type="checkbox" id="opaque-color" />Use opaque color for next draw</label>
</div>
<canvas id="chart"></canvas>
<script>
// This hack allows to capture the work normally happening in a rAF. We
// may be able to remove it if the runner improves.
window.requestAnimationFrame = (cb) => window.setTimeout(cb, 0);
window.cancelAnimationFrame = window.clearTimeout;
</script>
</body>
</html>