diff --git a/app/views/stats/_range.html.erb b/app/views/stats/_range.html.erb
index 9d6fa49f82..223ee9da4e 100644
--- a/app/views/stats/_range.html.erb
+++ b/app/views/stats/_range.html.erb
@@ -183,58 +183,58 @@ var questions = [<%= @questions %>];
var answers = [<%= @answers %>];
var options = {
- chart: {
- type: 'bar',
- height: 130,
- width: '90%',
- stacked: true,
- stackType: '100%'
+ chart: {
+ type: 'bar',
+ height: 130,
+ width: '90%',
+ stacked: true,
+ stackType: '100%'
+ },
+ plotOptions: {
+ bar: {
+ horizontal: true,
},
- plotOptions: {
- bar: {
- horizontal: true,
- },
+ },
+ stroke: {
+ width: 1,
+ colors: ['#fff']
+ },
+ series: [{
+ name: 'Questions asked',
+ data: questions
+ },{
+ name: 'Questions answered',
+ data: answers
+ }],
+ fill: {
+ opacity: 1
+ },
+ title: {
+ text: "Questions asked vs Answered in this period",
+ },
+
+ legend: {
+ show: false,
+ },
+ grid: {
+ show: false,
+ },
+ xaxis: {
+ labels: {
+ show: false,
},
- stroke: {
- width: 1,
- colors: ['#fff']
+ axisBorder: {
+ show: false
},
- series: [{
- name: 'Questions asked',
- data: questions
- },{
- name: 'Questions answered',
- data: answers
- }],
- fill: {
- opacity: 1
- },
- title: {
- text: "Questions asked vs Answered in this period",
- },
-
- legend: {
- show: false,
- },
- grid: {
- show: false,
- },
- xaxis: {
- labels: {
- show: false,
- },
- axisBorder: {
- show: false
- },
- lines: {
- show: false,
- }
- },
- yaxis: {
- labels: {
- show: false,
- }
- }
+ lines: {
+ show: false,
+ }
+ },
+ yaxis: {
+ labels: {
+ show: false,
+ }
+ }
}