-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy paththeme-excel.ts
55 lines (47 loc) · 952 Bytes
/
theme-excel.ts
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import {Config} from './config';
const markColor = '#4572a7';
const excelTheme: Config = {
background: '#fff',
arc: {fill: markColor},
area: {fill: markColor},
line: {stroke: markColor, strokeWidth: 2},
path: {stroke: markColor},
rect: {fill: markColor},
shape: {stroke: markColor},
symbol: {fill: markColor, strokeWidth: 1.5, size: 50},
axis: {
bandPosition: 0.5,
grid: true,
gridColor: '#000000',
gridOpacity: 1,
gridWidth: 0.5,
labelPadding: 10,
tickSize: 5,
tickWidth: 0.5,
},
axisBand: {
grid: false,
tickExtra: true,
},
legend: {
labelBaseline: 'middle',
labelFontSize: 11,
symbolSize: 50,
symbolType: 'square',
},
range: {
category: [
'#4572a7',
'#aa4643',
'#8aa453',
'#71598e',
'#4598ae',
'#d98445',
'#94aace',
'#d09393',
'#b9cc98',
'#a99cbc',
],
},
};
export default excelTheme;