Charts: bar instead of line

This commit is contained in:
Óscar M. Lage 2024-11-28 14:31:12 +01:00
parent 57196d9189
commit 9978cd13ae

View File

@ -196,7 +196,7 @@
const sortedData = combinedData.map(item => item.data); const sortedData = combinedData.map(item => item.data);
new Chart(ctx, { new Chart(ctx, {
type: 'line', type: 'bar',
data: { data: {
labels: sortedLabels, labels: sortedLabels,
datasets: [{ datasets: [{