mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35: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: {
|
||||
type: 'time',
|
||||
time: {
|
||||
unit: 'day',
|
||||
unit: 'month',
|
||||
displayFormats: {
|
||||
day: 'MMM D, YYYY'
|
||||
month: 'MMM YYYY'
|
||||
}
|
||||
},
|
||||
title: {
|
||||
|
@ -46,7 +46,8 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||
maxRotation: 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: {
|
||||
title: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue