New HTTP endpoints: /header and /datasets
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
// Test chart
|
||||
const ctx = document.getElementById('myChart');
|
||||
const myChart = new Chart(ctx, {
|
||||
type: 'bar',
|
||||
type: 'line',
|
||||
data: {
|
||||
labels: ['Red', 'Blue', 'Yellow', 'Green', 'Purple', 'Orange'],
|
||||
datasets: [{
|
||||
@@ -127,6 +127,6 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<canvas id="myChart" width="400" height="400"></canvas>
|
||||
<canvas id="myChart" width="100%" height="400"></canvas>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user