mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2024-11-25 23:17:19 +00:00
log scale x axis
This commit is contained in:
parent
24e98190fe
commit
4d62e70810
@ -24,7 +24,21 @@
|
|||||||
datasets: {{datasets}},
|
datasets: {{datasets}},
|
||||||
},
|
},
|
||||||
options: {
|
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(
|
let items_chart = new Chart(
|
||||||
|
Loading…
Reference in New Issue
Block a user