log scale x axis

This commit is contained in:
Aaron Kimbre 2022-03-14 13:07:50 -05:00
parent 24e98190fe
commit 4d62e70810

View File

@ -24,7 +24,21 @@
datasets: {{datasets}},
},
options: {
plugins: { legend: { display: false }, }
plugins: { legend: { display: false }, },
scales: {
x: {
title: {
display: true,
text: 'Date'
},
display: true
},
y: {
display: true,
type: 'logarithmic',
text: '{{ name }}'
}
}
}
};
let items_chart = new Chart(