Ejegg has uploaded a new change for review. https://gerrit.wikimedia.org/r/177025
Change subject: Have Big English reload every 5 minutes ...................................................................... Have Big English reload every 5 minutes Change-Id: I275de9971d25be7f02d5e002ba7a2c465394f88d --- M src/components/boards/bigEnglish/bigEnglishBoard.js M src/components/widgets/totals-earned-chart/totals-earned-chart.js 2 files changed, 11 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/dash refs/changes/25/177025/1 diff --git a/src/components/boards/bigEnglish/bigEnglishBoard.js b/src/components/boards/bigEnglish/bigEnglishBoard.js index 61de34a..f3205bb 100644 --- a/src/components/boards/bigEnglish/bigEnglishBoard.js +++ b/src/components/boards/bigEnglish/bigEnglishBoard.js @@ -17,8 +17,11 @@ // Reload the page self.reloadBigEnglish = function(){ + console.log('reloading'); location.reload(); }; + // Do it every 5 minutes as well + setTimeout(self.reloadBigEnglish, 300000); // TODO: these two will come from the passed in data response self.goal = ko.observable(20000000); diff --git a/src/components/widgets/totals-earned-chart/totals-earned-chart.js b/src/components/widgets/totals-earned-chart/totals-earned-chart.js index 6a0d388..66bc5a7 100644 --- a/src/components/widgets/totals-earned-chart/totals-earned-chart.js +++ b/src/components/widgets/totals-earned-chart/totals-earned-chart.js @@ -31,6 +31,14 @@ colors: { 'Hourly Totals': 'rgb(92,184,92)'}, onclick: function (d, i) { c3.generate(self.dailyChart()) }, }, + grid: { + x: { + show: true + }, + y: { + show: true + } + }, axis: { x: { label: { -- To view, visit https://gerrit.wikimedia.org/r/177025 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I275de9971d25be7f02d5e002ba7a2c465394f88d Gerrit-PatchSet: 1 Gerrit-Project: wikimedia/fundraising/dash Gerrit-Branch: master Gerrit-Owner: Ejegg <eeggles...@wikimedia.org> Gerrit-Reviewer: Ssmith <ssm...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits