support modifying statistics page default settings

This commit is contained in:
MaysWind
2021-01-31 22:57:13 +08:00
parent 088170edb3
commit 989a754fe3
9 changed files with 222 additions and 6 deletions
+3
View File
@@ -1,3 +1,5 @@
import datetime from './datetime.js';
const allChartTypes = {
Pie: 0,
Bar: 1
@@ -21,4 +23,5 @@ export default {
defaultChartType: defaultChartType,
allChartDataTypes: allChartDataTypes,
defaultChartDataType: defaultChartDataType,
defaultDataRangeType: datetime.allDateRanges.ThisMonth.type,
};