summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshen2019-01-14 15:28:40 +0530
committerGitHub2019-01-14 15:28:40 +0530
commit394c9042b64e4be832776cb0d04807fb7cfc5f05 (patch)
treed9b6c90b9c9e7ce1b65dc24abf1222bbebb59093
parentce52761566e2f19939a3769a38843bbb0ae2979d (diff)
parent2c31df8c796d72038bb84d72573f2cc2d24b5d7a (diff)
downloadworkshop_booking-394c9042b64e4be832776cb0d04807fb7cfc5f05.tar.gz
workshop_booking-394c9042b64e4be832776cb0d04807fb7cfc5f05.tar.bz2
workshop_booking-394c9042b64e4be832776cb0d04807fb7cfc5f05.zip
Merge pull request #77 from Akshen/stats
Removes Workshop AVG
-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)'
- ]
-
-
- }
+ }
]
},