Skip to content

Commit 423ce0b

Browse files
authored
Update implementation.js
1 parent 4707568 commit 423ce0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

implementation.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function render_chart(params) {
2222
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
2323
</head>
2424
<body>
25-
<canvas id="generated-chart"></canvas>
25+
<canvas id="generated-chart" style="width: 100%; height: 90vh;"></canvas>
2626
<script>
2727
var ctx = document.getElementById('generated-chart').getContext('2d');
2828
var chart = new Chart(ctx, {
@@ -35,4 +35,4 @@ function render_chart(params) {
3535
</html>
3636
`;
3737
return htmlString;
38-
}
38+
}

0 commit comments

Comments
 (0)