tanghaolin
2025-04-17 6716b2a7ecc3ce3745c17f8361c781abd63d40d7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import type { ECOption } from './types';
 
export const defaultChartConfig: Partial<ECOption> = {
    title: {
        left: 'center',
        textStyle: {
            fontWeight: 'normal',
            fontSize: 16,
        },
    },
    grid: {
        top: '60px',
        left: '3%',
        right: '4%',
        bottom: '3%',
        containLabel: true,
    },
    tooltip: {
        trigger: 'axis',
        axisPointer: {
            type: 'shadow',
        },
    },
    legend: {
        top: '25px',
    },
} as const;