export default {
    ordinal: null,
    categorical: null,
    time: [{
        value: 'year',
        label: '年',
        replaceFunction: (v) => v + '年',
    }, {
        value: 'halfYear',
        label: '半年',
        replaceFunction: (v) => v.replace('-H1', '上半年').replace('-H2', '下半年'),
    }, {
        value: 'month',
        label: '月',
        replaceFunction: (v) => v.replace('-M', '年') + '月',
    }, {
        value: 'quarter',
        label: '季度',
        replaceFunction: (v) => v.replace('-Q1', '年1季度').replace('-Q2', '年2季度').replace('-Q3', '年3季度').replace('-Q4', '年4季度'),
    }, {
        value: 'week',
        label: '周',
        replaceFunction: (v) => v.replace('-W', '年') + '周',
    }, {
        value: 'day',
        label: '日',
        replaceFunction: (v) => v,
    }]
}