Chart.js #6288 test02
HTML
<script src="https://cdn.jsdelivr.net/gh/nagix/nagix.github.io@chartjs/Chart.6288.js"></script>
<div>
<canvas id="chart"></canvas>
</div>
JavaScript
new Chart(document.getElementById("chart"), {
type: 'line',
data: {
labels: [0, 1, 2, 3, 4],
datasets: [{
data: [0, 2, 0, 1, 0],
tension: 0
}]
},
options: {
legend: {
display: false
}
}
});