mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
Update the x-axis of the chart to show increasing dates from left to right, using month labels.
This commit is contained in:
parent
05685c752b
commit
2ded5e6faa
1 changed files with 4 additions and 3 deletions
|
@ -33,9 +33,9 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||||
x: {
|
x: {
|
||||||
type: 'time',
|
type: 'time',
|
||||||
time: {
|
time: {
|
||||||
unit: 'day',
|
unit: 'month',
|
||||||
displayFormats: {
|
displayFormats: {
|
||||||
day: 'MMM D, YYYY'
|
month: 'MMM YYYY'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
title: {
|
title: {
|
||||||
|
@ -46,7 +46,8 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||||
maxRotation: 45,
|
maxRotation: 45,
|
||||||
minRotation: 45
|
minRotation: 45
|
||||||
},
|
},
|
||||||
max: moment('{{ site.data.blame | last | map: "end_date" | first }}').add(15, 'days')
|
min: moment('{{ site.data.blame | first | map: "end_date" | first }}').subtract(1, 'month'),
|
||||||
|
max: moment('{{ site.data.blame | last | map: "end_date" | first }}').add(1, 'month')
|
||||||
},
|
},
|
||||||
y: {
|
y: {
|
||||||
title: {
|
title: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue