~ changed values around
#SPM-18: add work 30m development
This commit is contained in:
parent
66305b51d1
commit
cf7500f472
|
@ -65,8 +65,8 @@ public class WeekOverviewDiagram extends HttpServlet {
|
||||||
|
|
||||||
for (String label : labels) {
|
for (String label : labels) {
|
||||||
Map.Entry<Double, Integer> entry = overview.getResult().get(label);
|
Map.Entry<Double, Integer> entry = overview.getResult().get(label);
|
||||||
count.add(entry.getKey().toString());
|
revenue.add(entry.getKey().toString());
|
||||||
revenue.add(entry.getValue().toString());
|
count.add(entry.getValue().toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,13 +6,13 @@ let week_overview = new Chart(document.getElementById("overview_chart"), {
|
||||||
label: "Warenanzahl",
|
label: "Warenanzahl",
|
||||||
data: [0, 0, 0, 0, 0],
|
data: [0, 0, 0, 0, 0],
|
||||||
fill: true,
|
fill: true,
|
||||||
backgroundColor: 'rgba(113, 114, 231, 0.7)',
|
backgroundColor: 'rgba(104, 216, 154, 0.5)',
|
||||||
lineTension: 0
|
lineTension: 0
|
||||||
}, {
|
}, {
|
||||||
label: "Einnahmen in €",
|
label: "Einnahmen in €",
|
||||||
data: [0, 0, 0, 0, 0],
|
data: [0, 0, 0, 0, 0],
|
||||||
fill: true,
|
fill: true,
|
||||||
backgroundColor: 'rgba(104, 216, 154, 0.8)',
|
backgroundColor: 'rgba(113, 114, 231, 1)',
|
||||||
lineTension: 0
|
lineTension: 0
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue