summaryrefslogtreecommitdiff
path: root/statistics_app
diff options
context:
space:
mode:
authorAkshen2019-01-14 15:20:21 +0530
committerAkshen2019-01-14 15:20:21 +0530
commit2c31df8c796d72038bb84d72573f2cc2d24b5d7a (patch)
treed9b6c90b9c9e7ce1b65dc24abf1222bbebb59093 /statistics_app
parentbf03e43dfcfbcfc3a7d49d230836b54f4310898a (diff)
downloadworkshop_booking-2c31df8c796d72038bb84d72573f2cc2d24b5d7a.tar.gz
workshop_booking-2c31df8c796d72038bb84d72573f2cc2d24b5d7a.tar.bz2
workshop_booking-2c31df8c796d72038bb84d72573f2cc2d24b5d7a.zip
Removes Workshop AVG
- Hides workshop avg from workshop statistics in monthly chart
Diffstat (limited to 'statistics_app')
-rw-r--r--statistics_app/templates/statistics_app/workshop_stats.html15
1 files changed, 2 insertions, 13 deletions
diff --git a/statistics_app/templates/statistics_app/workshop_stats.html b/statistics_app/templates/statistics_app/workshop_stats.html
index f5f5eb0..fa1b10d 100644
--- a/statistics_app/templates/statistics_app/workshop_stats.html
+++ b/statistics_app/templates/statistics_app/workshop_stats.html
@@ -210,7 +210,7 @@
document.getElementById("visualization").style.visibility='hidden';
myChart = new Chart(ctx1, {
- type: 'bar',
+ type: 'horizontalBar',
data: {
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', ' December'],
datasets: [{
@@ -245,18 +245,7 @@
'rgba(191, 191, 191, 1)'
],
borderWidth: 1
- },
- {
- label: 'Expected Workshops',
- type: 'line',
- data: {{ workshop_mean }},
- fill: false,
- borderColor: [
- 'rgba(0, 0, 128, 0.7)'
- ]
-
-
- }
+ }
]
},