mirror of
https://github.com/flarum/core.git
synced 2025-08-06 08:27:42 +02:00
Re-add some missing options, simplify CSS
This commit is contained in:
@@ -139,10 +139,14 @@ export default class StatisticsWidget extends DashboardWidget {
|
||||
context.chart = new Chart(elm, {
|
||||
data,
|
||||
type: 'line',
|
||||
height: 200,
|
||||
height: 280,
|
||||
axisOptions: {
|
||||
xAxisMode: 'tick',
|
||||
yAxisMode: 'span'
|
||||
yAxisMode: 'span',
|
||||
xIsSeries: true
|
||||
},
|
||||
lineOptions: {
|
||||
hideDots: 1
|
||||
},
|
||||
colors: ['black', app.forum.attribute('themePrimaryColor')]
|
||||
});
|
||||
|
Reference in New Issue
Block a user