Graph improvements, checkout management, total history
This commit is contained in:
@@ -86,6 +86,25 @@ function DrinkPage(arg:Arguments) {
|
||||
display: false
|
||||
},
|
||||
},
|
||||
scales: {
|
||||
x: {
|
||||
title: {
|
||||
display: true,
|
||||
text: 'History'
|
||||
}
|
||||
},
|
||||
y: {
|
||||
title: {
|
||||
display: true,
|
||||
text: 'Amount'
|
||||
},
|
||||
min: 0,
|
||||
ticks: {
|
||||
// forces step size to be 50 units
|
||||
stepSize: 1
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user