diff --git a/static/js/stats/stats.js b/static/js/stats/stats.js index 5efadaa28f..da0ee11ad5 100644 --- a/static/js/stats/stats.js +++ b/static/js/stats/stats.js @@ -630,32 +630,16 @@ function populate_number_of_users(data) { var layout = { width: 750, height: 370, - margin: { - l: 40, r: 0, b: 100, t: 20, - }, + margin: { l: 40, r: 0, b: 100, t: 20 }, xaxis: { fixedrange: true, rangeselector: { - x: 0.808, - y: -0.33, + x: 0.808, y: -0.33, buttons: [ - { - count: 30, - label: i18n.t('Last 30 days'), - step: 'day', - stepmode: 'backward', - }, - { - step: 'all', - label: i18n.t('All time'), - }, - ], - }, - }, - yaxis: { - fixedrange: true, - rangemode: 'tozero', - }, + { count: 30, label: i18n.t('Last 30 days'), step: 'day', stepmode: 'backward' }, + { step: 'all', label: i18n.t('All time') }, + ]}}, + yaxis: { fixedrange: true, rangemode: 'tozero' }, font: font_14pt, };