Updated pirsch, simplified statistics code.

This commit is contained in:
Marvin Blum
2020-06-25 15:38:23 +02:00
committed by Marvin Blum
parent 6d2687c9b3
commit 65d19fdf51
4 changed files with 17 additions and 46 deletions

View File

@@ -47,8 +47,8 @@
data: {
labels: [{{.TotalVisitorsLabels}}],
datasets: [{
backgroundColor: "rgba(0, 0, 0, 0.05)",
borderColor: "#000",
backgroundColor: "rgba(127, 127, 127, 0.05)",
borderColor: "#7f7f7f",
label: "Total Visitors",
data: [{{.TotalVisitorsDps}}]
}]
@@ -61,8 +61,8 @@
data: {
labels: [{{$data.Labels}}],
datasets: [{
backgroundColor: "rgba(0, 0, 0, 0.05)",
borderColor: "#000",
backgroundColor: "rgba(127, 127, 127, 0.05)",
borderColor: "#7f7f7f",
label: "Page Visits",
data: [{{$data.Data}}]
}]