From f9289ff3e59bbb4f59905ca8d3ca7bd5731ef479 Mon Sep 17 00:00:00 2001 From: Stirling Hostetter <96191917+stirlhoss@users.noreply.github.com> Date: Thu, 2 Jun 2022 12:50:59 -0500 Subject: [PATCH] Fix indentation Changed indentation from 4 spaces to 2 spaces. --- app/views/stats/_range.html.erb | 98 ++++++++++++++++----------------- 1 file changed, 49 insertions(+), 49 deletions(-) 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, + } + } }