1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 23:47:32 +02:00

Display tweaks

This commit is contained in:
Toby Zerner
2017-12-11 07:52:05 +10:30
parent 410dd2c679
commit 898469e398
2 changed files with 4 additions and 4 deletions

View File

@@ -110,11 +110,11 @@ export default class StatisticsWidget extends DashboardWidget {
data: {labels, datasets},
type: 'line',
height: 200,
x_axis_mode: 'tick', // for short label ticks
y_axis_mode: 'span', // for long horizontal lines, or 'tick'
x_axis_mode: 'tick',
y_axis_mode: 'span',
is_series: 1,
show_dots: 0,
colors: ['rgba(0,0,0,0.2)', app.forum.attribute('themePrimaryColor')],
colors: ['rgba(0,0,0,0.1)', app.forum.attribute('themePrimaryColor')],
format_tooltip_x: d => d,
format_tooltip_y: d => d
});