1 | "use strict";
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.default = void 0;
|
7 | var axis = {
|
8 | labelOffset: '15px',
|
9 | line: {
|
10 | stroke: '#E8E8E8',
|
11 | lineWidth: '1px'
|
12 | },
|
13 | symbol: {
|
14 | fill: '#E8E8E8',
|
15 | radius: '10px'
|
16 | },
|
17 | tickLine: {
|
18 | stroke: '#E8E8E8'
|
19 | },
|
20 | label: {
|
21 | fill: '#808080',
|
22 | fontSize: '20px'
|
23 | },
|
24 | grid: {
|
25 | stroke: '#E8E8E8',
|
26 | lineWidth: '1px',
|
27 | lineDash: ['4px']
|
28 | }
|
29 | };
|
30 | var guide = {
|
31 | line: {
|
32 | style: {
|
33 | stroke: '#a3a3a3',
|
34 | lineWidth: 1
|
35 | },
|
36 | offsetX: 0,
|
37 | offsetY: 0
|
38 | },
|
39 | text: {
|
40 | style: {
|
41 | fill: '#787878',
|
42 |
|
43 | textBaseline: 'middle'
|
44 | },
|
45 | offsetX: 0,
|
46 | offsetY: 0
|
47 | },
|
48 | rect: {
|
49 | style: {
|
50 | fill: '#fafafa'
|
51 | }
|
52 | },
|
53 | arc: {
|
54 | style: {
|
55 | stroke: '#a3a3a3'
|
56 | }
|
57 | },
|
58 | html: {
|
59 | offsetX: 0,
|
60 | offsetY: 0,
|
61 | alignX: 'center',
|
62 | alignY: 'middle'
|
63 | },
|
64 | tag: {
|
65 | offsetX: 0,
|
66 | offsetY: 0,
|
67 | side: 4,
|
68 | background: {
|
69 | padding: 5,
|
70 | radius: 2,
|
71 | fill: '#1890FF'
|
72 | },
|
73 | textStyle: {
|
74 | fontSize: 12,
|
75 | fill: '#fff',
|
76 | textAlign: 'center',
|
77 | textBaseline: 'middle'
|
78 | }
|
79 | },
|
80 | point: {
|
81 | offsetX: 0,
|
82 | offsetY: 0,
|
83 | style: {
|
84 | fill: '#fff',
|
85 | r: 3,
|
86 | lineWidth: 2,
|
87 | stroke: '#1890ff'
|
88 | }
|
89 | },
|
90 | polyline: {
|
91 | style: {
|
92 | lineWidth: '4px',
|
93 | lineJoin: 'round',
|
94 | lineCap: 'round'
|
95 | },
|
96 | offsetX: 0,
|
97 | offsetY: 0
|
98 | }
|
99 | };
|
100 | var chart = {
|
101 | padding: ['30px', '30px', '30px', '30px']
|
102 | };
|
103 | var _default = exports.default = {
|
104 | chart: chart,
|
105 | colors: ['#1890FF', '#2FC25B', '#FACC14', '#223273', '#8543E0', '#13C2C2', '#3436C7', '#F04864'],
|
106 | shapes: {
|
107 | line: ['line', 'dash', 'smooth'],
|
108 | point: ['circle', 'hollowCircle', 'rect'],
|
109 | area: ['area', 'smooth'],
|
110 | interval: ['rect', 'pyramid', 'funnel']
|
111 | },
|
112 | sizes: ['4px', '6px', '8px', '10px', '12px'],
|
113 | shape: {
|
114 | line: {
|
115 | default: {
|
116 | lineWidth: '4px',
|
117 | lineJoin: 'round',
|
118 | lineCap: 'round'
|
119 | },
|
120 | smooth: {
|
121 | smooth: true
|
122 | },
|
123 | 'step-start': {
|
124 | step: 'start'
|
125 | },
|
126 | 'step-middle': {
|
127 | step: 'middle'
|
128 | },
|
129 | 'step-end': {
|
130 | step: 'end'
|
131 | },
|
132 | dash: {
|
133 | lineDash: ['8px', '8px']
|
134 | }
|
135 | },
|
136 | point: {
|
137 | default: {
|
138 | size: '6px'
|
139 | },
|
140 | hollowCircle: {
|
141 | lineWidth: '2px'
|
142 | }
|
143 | },
|
144 | area: {
|
145 | default: {
|
146 | fillOpacity: 0.1
|
147 | }
|
148 | },
|
149 | interval: {
|
150 | default: {}
|
151 | }
|
152 | },
|
153 | axis: axis,
|
154 | guide: guide
|
155 | }; |
\ | No newline at end of file |