Skip to content

Commit

Permalink
Merge pull request #1 from anirudh-t-d/anirudh-t-d-patch-1
Browse files Browse the repository at this point in the history
Updated _range.html.erb
  • Loading branch information
anirudh-t-d authored May 18, 2022
2 parents f9a6532 + e323232 commit c89ac06
Showing 1 changed file with 48 additions and 48 deletions.
96 changes: 48 additions & 48 deletions app/views/stats/_range.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
bar: {
horizontal: true,
},
stroke: {
width: 1,
colors: ['#fff']
},
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,
},
series: [{
name: 'Questions asked',
data: questions
},{
name: 'Questions answered',
data: answers
}],
fill: {
opacity: 1
},
title: {
text: "Questions asked vs Answered in this period",
},
axisBorder: {
show: false

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,
}
}

}

Expand Down

0 comments on commit c89ac06

Please sign in to comment.