mirror of https://github.com/zulip/zulip.git
stats: Clean up line spacing in populate_number_of_users in stats.js.
We use this compressed form in our other layout definitions. Makes it easier to visually digest.
This commit is contained in:
parent
66a589c7a7
commit
5ddc6c21e9
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue