@orbcharts/presets-basic 3.0.0-beta.10 → 3.0.0-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orbcharts-presets-basic.es.js +3031 -566
- package/dist/orbcharts-presets-basic.umd.js +1 -1
- package/dist/src/grid/PRESET_GRID_PN_SCALE_SIMPLE.d.ts +4 -0
- package/dist/src/grid/PRESET_GRID_SIMPLE.d.ts +4 -0
- package/dist/src/grid/PRESET_LINES_SIMPLE.d.ts +4 -0
- package/dist/src/grid/PRESET_LINE_AREAS_SIMPLE.d.ts +4 -0
- package/dist/src/grid/index.d.ts +4 -0
- package/dist/src/multiGrid/PRESET_MULTI_GRID_DIVERGING_SIMPLE.d.ts +4 -0
- package/dist/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.d.ts +3 -1
- package/dist/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE_SIMPLE.d.ts +6 -0
- package/dist/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID_SIMPLE.d.ts +4 -0
- package/dist/src/multiGrid/PRESET_MULTI_GRID_SIMPLE.d.ts +4 -0
- package/dist/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID_SIMPLE.d.ts +4 -0
- package/dist/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID_SIMPLE.d.ts +4 -0
- package/dist/src/multiGrid/index.d.ts +6 -0
- package/dist/src/multiValue/PRESET_MULTI_VALUE_SIMPLE.d.ts +4 -0
- package/dist/src/multiValue/PRESET_RACING_BARS_ALL_ITEMS.d.ts +4 -0
- package/dist/src/multiValue/PRESET_RACING_BARS_BASIC.d.ts +4 -0
- package/dist/src/multiValue/PRESET_RACING_BARS_FAST.d.ts +4 -0
- package/dist/src/multiValue/PRESET_RACING_BARS_FASTER.d.ts +4 -0
- package/dist/src/multiValue/PRESET_RACING_BARS_OUTSIDE_LABELS.d.ts +4 -0
- package/dist/src/multiValue/PRESET_RACING_BARS_SEPARATE_CATEGORY.d.ts +4 -0
- package/dist/src/multiValue/PRESET_RACING_BARS_SIMPLE.d.ts +4 -0
- package/dist/src/multiValue/PRESET_RACING_BARS_STOP.d.ts +4 -0
- package/dist/src/multiValue/PRESET_SCATTER_BASIC.d.ts +4 -0
- package/dist/src/multiValue/PRESET_SCATTER_BUBBLES_BASIC.d.ts +4 -0
- package/dist/src/multiValue/PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY.d.ts +4 -0
- package/dist/src/multiValue/PRESET_SCATTER_BUBBLES_SIMPLE.d.ts +4 -0
- package/dist/src/multiValue/PRESET_SCATTER_SEPARATE_CATEGORY.d.ts +4 -0
- package/dist/src/multiValue/PRESET_SCATTER_SIMPLE.d.ts +4 -0
- package/dist/src/multiValue/index.d.ts +15 -0
- package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_SIMPLE.d.ts +4 -0
- package/dist/src/relationship/PRESET_FORCE_DIRECTED_SIMPLE.d.ts +4 -0
- package/dist/src/relationship/index.d.ts +2 -0
- package/dist/src/series/PRESET_BUBBLES_BASIC.d.ts +4 -0
- package/dist/src/series/PRESET_BUBBLES_SIMPLE.d.ts +4 -0
- package/dist/src/series/PRESET_BUBBLES_SUM_SERIES.d.ts +4 -0
- package/dist/src/series/PRESET_PIE_SEPARATE_SERIES.d.ts +4 -0
- package/dist/src/series/PRESET_PIE_SIMPLE.d.ts +4 -0
- package/dist/src/series/PRESET_PIE_SUM_SERIES.d.ts +4 -0
- package/dist/src/series/PRESET_ROSE_SEPARATE_SERIES.d.ts +4 -0
- package/dist/src/series/PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES.d.ts +4 -0
- package/dist/src/series/PRESET_ROSE_SIMPLE.d.ts +4 -0
- package/dist/src/series/PRESET_ROSE_SUM_SERIES.d.ts +4 -0
- package/dist/src/series/index.d.ts +10 -0
- package/dist/src/tree/PRESET_TREE_MAP_SIMPLE.d.ts +4 -0
- package/dist/src/tree/index.d.ts +1 -0
- package/dist/src/types.d.ts +23 -17
- package/package.json +3 -3
- package/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.ts +28 -24
- package/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.ts +22 -13
- package/src/grid/PRESET_BARS_ROUND.ts +23 -6
- package/src/grid/PRESET_BARS_THIN.ts +23 -6
- package/src/grid/PRESET_GRID_BASIC.ts +23 -6
- package/src/grid/PRESET_GRID_HORIZONTAL.ts +22 -5
- package/src/grid/PRESET_GRID_PN_SCALE.ts +23 -6
- package/src/grid/PRESET_GRID_PN_SCALE_SIMPLE.ts +49 -0
- package/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.ts +23 -6
- package/src/grid/PRESET_GRID_SEPARATE_SERIES.ts +23 -6
- package/src/grid/PRESET_GRID_SIMPLE.ts +44 -0
- package/src/grid/PRESET_LINES_BASIC.ts +23 -10
- package/src/grid/PRESET_LINES_CURVE.ts +23 -10
- package/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.ts +23 -10
- package/src/grid/PRESET_LINES_HORIZONTAL.ts +28 -23
- package/src/grid/PRESET_LINES_LOOSE_TICKS.ts +23 -10
- package/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.ts +23 -10
- package/src/grid/PRESET_LINES_SIMPLE.ts +53 -0
- package/src/grid/PRESET_LINES_WITH_SOLID_DOTS.ts +23 -10
- package/src/grid/PRESET_LINE_AREAS_BASIC.ts +23 -6
- package/src/grid/PRESET_LINE_AREAS_CURVE.ts +23 -6
- package/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.ts +26 -15
- package/src/grid/PRESET_LINE_AREAS_HORIZONTAL.ts +29 -18
- package/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.ts +26 -15
- package/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.ts +26 -15
- package/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.ts +27 -17
- package/src/grid/PRESET_LINE_AREAS_SIMPLE.ts +57 -0
- package/src/grid/index.ts +4 -0
- package/src/multiGrid/PRESET_MULTI_GRID_BASIC.ts +23 -11
- package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.ts +25 -13
- package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING_SIMPLE.ts +101 -0
- package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.ts +25 -12
- package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE_SIMPLE.ts +81 -0
- package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.ts +24 -11
- package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID_SIMPLE.ts +84 -0
- package/src/multiGrid/PRESET_MULTI_GRID_SIMPLE.ts +60 -0
- package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.ts +24 -9
- package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID_SIMPLE.ts +110 -0
- package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.ts +24 -9
- package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID_SIMPLE.ts +113 -0
- package/src/multiGrid/index.ts +6 -0
- package/src/multiValue/PRESET_MULTI_VALUE_BASIC.ts +23 -7
- package/src/multiValue/PRESET_MULTI_VALUE_SEPARATE_CATEGORY.ts +31 -7
- package/src/multiValue/PRESET_MULTI_VALUE_SIMPLE.ts +39 -0
- package/src/multiValue/PRESET_RACING_BARS_ALL_ITEMS.ts +44 -0
- package/src/multiValue/PRESET_RACING_BARS_BASIC.ts +43 -0
- package/src/multiValue/PRESET_RACING_BARS_FAST.ts +43 -0
- package/src/multiValue/PRESET_RACING_BARS_FASTER.ts +43 -0
- package/src/multiValue/PRESET_RACING_BARS_OUTSIDE_LABELS.ts +47 -0
- package/src/multiValue/PRESET_RACING_BARS_SEPARATE_CATEGORY.ts +60 -0
- package/src/multiValue/PRESET_RACING_BARS_SIMPLE.ts +43 -0
- package/src/multiValue/PRESET_RACING_BARS_STOP.ts +42 -0
- package/src/multiValue/PRESET_SCATTER_BASIC.ts +40 -0
- package/src/multiValue/PRESET_SCATTER_BUBBLES_BASIC.ts +40 -0
- package/src/multiValue/PRESET_SCATTER_BUBBLES_LINEAR_OPACITY.ts +24 -7
- package/src/multiValue/PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS.ts +24 -7
- package/src/multiValue/PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY.ts +43 -0
- package/src/multiValue/PRESET_SCATTER_BUBBLES_SIMPLE.ts +40 -0
- package/src/multiValue/PRESET_SCATTER_SEPARATE_CATEGORY.ts +51 -0
- package/src/multiValue/PRESET_SCATTER_SIMPLE.ts +40 -0
- package/src/multiValue/index.ts +16 -1
- package/src/params.ts +7 -4
- package/src/relationship/PRESET_FORCE_DIRECTED_BASIC.ts +21 -11
- package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_BASIC.ts +21 -11
- package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH.ts +21 -11
- package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW.ts +21 -13
- package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM.ts +21 -11
- package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_SIMPLE.ts +34 -0
- package/src/relationship/PRESET_FORCE_DIRECTED_FIX_FONT_SIZE.ts +21 -11
- package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ARROW.ts +21 -11
- package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ZOOM.ts +21 -11
- package/src/relationship/PRESET_FORCE_DIRECTED_SIMPLE.ts +34 -0
- package/src/relationship/index.ts +3 -1
- package/src/series/PRESET_BUBBLES_BASIC.ts +32 -0
- package/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.ts +21 -4
- package/src/series/PRESET_BUBBLES_SEPARATE_SERIES.ts +19 -4
- package/src/series/PRESET_BUBBLES_SIMPLE.ts +39 -0
- package/src/series/PRESET_BUBBLES_SUM_SERIES.ts +34 -0
- package/src/series/PRESET_PIE_BASIC.ts +21 -4
- package/src/series/PRESET_PIE_DONUT.ts +21 -4
- package/src/series/PRESET_PIE_HALF_DONUT.ts +21 -5
- package/src/series/PRESET_PIE_SEPARATE_SERIES.ts +34 -0
- package/src/series/PRESET_PIE_SIMPLE.ts +43 -0
- package/src/series/PRESET_PIE_SUM_SERIES.ts +34 -0
- package/src/series/PRESET_PIE_WITH_INNER_LABELS.ts +21 -4
- package/src/series/PRESET_ROSE_BASIC.ts +27 -5
- package/src/series/PRESET_ROSE_SCALING_BY_RADIUS.ts +27 -4
- package/src/series/PRESET_ROSE_SEPARATE_SERIES.ts +42 -0
- package/src/series/PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES.ts +43 -0
- package/src/series/PRESET_ROSE_SIMPLE.ts +43 -0
- package/src/series/PRESET_ROSE_SUM_SERIES.ts +40 -0
- package/src/series/PRESET_SERIES_BASIC.ts +21 -5
- package/src/series/PRESET_SERIES_SEPARATE_SERIES.ts +3 -5
- package/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +3 -5
- package/src/series/PRESET_SERIES_SUM_SERIES.ts +4 -5
- package/src/series/index.ts +10 -0
- package/src/tree/PRESET_TREE_MAP_BASIC.ts +20 -3
- package/src/tree/PRESET_TREE_MAP_SIMPLE.ts +44 -0
- package/src/tree/index.ts +2 -1
- package/src/types.ts +38 -19
@@ -1,8 +1,54 @@
|
|
1
|
-
const
|
1
|
+
const u = {
|
2
|
+
name: "PRESET_BUBBLES_BASIC",
|
3
|
+
description: "Basic bubble chart",
|
4
|
+
descriptionZh: "基本泡泡圖",
|
5
|
+
chartParams: {
|
6
|
+
colors: {
|
7
|
+
light: {
|
8
|
+
label: [
|
9
|
+
"#6CBAFF",
|
10
|
+
"#FF6C6C",
|
11
|
+
"#F9B052",
|
12
|
+
"#7DD3C4",
|
13
|
+
"#AA93D2",
|
14
|
+
"#0088FF",
|
15
|
+
"#FFBABA",
|
16
|
+
"#86DC72",
|
17
|
+
"#EF76FF",
|
18
|
+
"#C4C4C4"
|
19
|
+
]
|
20
|
+
}
|
21
|
+
}
|
22
|
+
},
|
23
|
+
pluginParams: {
|
24
|
+
SeriesLegend: {
|
25
|
+
listRectRadius: 7
|
26
|
+
// 圓型圖例列點
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}, _ = {
|
2
30
|
name: "PRESET_BUBBLES_SCALING_BY_RADIUS",
|
3
|
-
description: "
|
4
|
-
|
5
|
-
|
31
|
+
description: "Bubble chart scaled by radius size",
|
32
|
+
descriptionZh: "以半徑尺寸為比例的泡泡圖",
|
33
|
+
chartParams: {
|
34
|
+
colors: {
|
35
|
+
light: {
|
36
|
+
label: [
|
37
|
+
"#6CBAFF",
|
38
|
+
"#FF6C6C",
|
39
|
+
"#F9B052",
|
40
|
+
"#7DD3C4",
|
41
|
+
"#AA93D2",
|
42
|
+
"#0088FF",
|
43
|
+
"#FFBABA",
|
44
|
+
"#86DC72",
|
45
|
+
"#EF76FF",
|
46
|
+
"#C4C4C4"
|
47
|
+
]
|
48
|
+
}
|
49
|
+
}
|
50
|
+
},
|
51
|
+
pluginParams: {
|
6
52
|
Bubbles: {
|
7
53
|
arcScaleType: "radius"
|
8
54
|
},
|
@@ -11,10 +57,27 @@ const g = {
|
|
11
57
|
// 圓型圖例列點
|
12
58
|
}
|
13
59
|
}
|
14
|
-
},
|
60
|
+
}, C = {
|
15
61
|
name: "PRESET_BUBBLES_SEPARATE_SERIES",
|
16
|
-
description: "
|
62
|
+
description: "Bubble chart showing series separately",
|
63
|
+
descriptionZh: "分開顯示Series的泡泡圖",
|
17
64
|
chartParams: {
|
65
|
+
colors: {
|
66
|
+
light: {
|
67
|
+
label: [
|
68
|
+
"#6CBAFF",
|
69
|
+
"#FF6C6C",
|
70
|
+
"#F9B052",
|
71
|
+
"#7DD3C4",
|
72
|
+
"#AA93D2",
|
73
|
+
"#0088FF",
|
74
|
+
"#FFBABA",
|
75
|
+
"#86DC72",
|
76
|
+
"#EF76FF",
|
77
|
+
"#C4C4C4"
|
78
|
+
]
|
79
|
+
}
|
80
|
+
},
|
18
81
|
// 加長留空
|
19
82
|
padding: {
|
20
83
|
top: 160,
|
@@ -26,8 +89,7 @@ const g = {
|
|
26
89
|
dataFormatter: {
|
27
90
|
separateSeries: !0
|
28
91
|
},
|
29
|
-
|
30
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
92
|
+
pluginParams: {
|
31
93
|
Bubbles: {},
|
32
94
|
SeriesLegend: {
|
33
95
|
listRectRadius: 7
|
@@ -35,29 +97,129 @@ const g = {
|
|
35
97
|
},
|
36
98
|
SeriesTooltip: {}
|
37
99
|
}
|
100
|
+
}, m = {
|
101
|
+
name: "PRESET_BUBBLES_SIMPLE",
|
102
|
+
description: "Simple bubble chart",
|
103
|
+
descriptionZh: "簡單泡泡圖",
|
104
|
+
chartParams: {
|
105
|
+
padding: {
|
106
|
+
top: 40,
|
107
|
+
right: 40,
|
108
|
+
bottom: 40,
|
109
|
+
left: 40
|
110
|
+
},
|
111
|
+
colors: {
|
112
|
+
light: {
|
113
|
+
label: [
|
114
|
+
"#6CBAFF",
|
115
|
+
"#FF6C6C",
|
116
|
+
"#F9B052",
|
117
|
+
"#7DD3C4",
|
118
|
+
"#AA93D2",
|
119
|
+
"#0088FF",
|
120
|
+
"#FFBABA",
|
121
|
+
"#86DC72",
|
122
|
+
"#EF76FF",
|
123
|
+
"#C4C4C4"
|
124
|
+
]
|
125
|
+
}
|
126
|
+
}
|
127
|
+
},
|
128
|
+
pluginParams: {
|
129
|
+
SeriesLegend: {
|
130
|
+
listRectRadius: 7,
|
131
|
+
// 圓型圖例列點
|
132
|
+
padding: 7
|
133
|
+
}
|
134
|
+
}
|
38
135
|
}, i = {
|
136
|
+
name: "PRESET_BUBBLES_SUM_SERIES",
|
137
|
+
description: "Bubble chart of combined Series data",
|
138
|
+
descriptionZh: "合併Series資料的泡泡圖",
|
139
|
+
chartParams: {
|
140
|
+
colors: {
|
141
|
+
light: {
|
142
|
+
label: [
|
143
|
+
"#6CBAFF",
|
144
|
+
"#FF6C6C",
|
145
|
+
"#F9B052",
|
146
|
+
"#7DD3C4",
|
147
|
+
"#AA93D2",
|
148
|
+
"#0088FF",
|
149
|
+
"#FFBABA",
|
150
|
+
"#86DC72",
|
151
|
+
"#EF76FF",
|
152
|
+
"#C4C4C4"
|
153
|
+
]
|
154
|
+
}
|
155
|
+
}
|
156
|
+
},
|
157
|
+
dataFormatter: {
|
158
|
+
sort: (t, e) => e.value - t.value,
|
159
|
+
sumSeries: !0
|
160
|
+
},
|
161
|
+
pluginParams: {}
|
162
|
+
};
|
163
|
+
i.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
164
|
+
const a = {
|
39
165
|
name: "PRESET_PIE_BASIC",
|
40
|
-
description: "
|
166
|
+
description: "Basic pie chart",
|
167
|
+
descriptionZh: "基本圓餅圖",
|
168
|
+
chartParams: {
|
169
|
+
colors: {
|
170
|
+
light: {
|
171
|
+
label: [
|
172
|
+
"#7DD3C4",
|
173
|
+
"#FFA0A0",
|
174
|
+
"#6CBAFF",
|
175
|
+
"#55D339",
|
176
|
+
"#F9B052",
|
177
|
+
"#FF6C6C",
|
178
|
+
"#8E6BC9",
|
179
|
+
"#0088FF",
|
180
|
+
"#904026",
|
181
|
+
"#C4C4C4"
|
182
|
+
]
|
183
|
+
}
|
184
|
+
}
|
185
|
+
},
|
41
186
|
dataFormatter: {
|
42
187
|
sort: (t, e) => e.value - t.value
|
43
188
|
},
|
44
|
-
|
45
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
189
|
+
pluginParams: {
|
46
190
|
SeriesLegend: {
|
47
191
|
listRectRadius: 7
|
48
192
|
// 圓型圖例列點
|
49
193
|
}
|
50
194
|
}
|
51
195
|
};
|
52
|
-
|
196
|
+
a.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
53
197
|
const r = {
|
54
198
|
name: "PRESET_PIE_DONUT",
|
55
|
-
description: "
|
199
|
+
description: "Donut chart",
|
200
|
+
descriptionZh: "甜甜圈圖",
|
201
|
+
chartParams: {
|
202
|
+
colors: {
|
203
|
+
light: {
|
204
|
+
label: [
|
205
|
+
"#7DD3C4",
|
206
|
+
"#FFA0A0",
|
207
|
+
"#6CBAFF",
|
208
|
+
"#55D339",
|
209
|
+
"#F9B052",
|
210
|
+
"#FF6C6C",
|
211
|
+
"#8E6BC9",
|
212
|
+
"#0088FF",
|
213
|
+
"#904026",
|
214
|
+
"#C4C4C4"
|
215
|
+
]
|
216
|
+
}
|
217
|
+
}
|
218
|
+
},
|
56
219
|
dataFormatter: {
|
57
220
|
sort: (t, e) => e.value - t.value
|
58
221
|
},
|
59
|
-
|
60
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
222
|
+
pluginParams: {
|
61
223
|
Pie: {
|
62
224
|
innerRadius: 0.5
|
63
225
|
},
|
@@ -72,11 +234,28 @@ const r = {
|
|
72
234
|
r.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
73
235
|
const s = {
|
74
236
|
name: "PRESET_PIE_HALF_DONUT",
|
75
|
-
description: "
|
237
|
+
description: "Half donut chart",
|
238
|
+
descriptionZh: "半圓甜甜圈圖",
|
76
239
|
chartParams: {
|
240
|
+
colors: {
|
241
|
+
light: {
|
242
|
+
label: [
|
243
|
+
"#7DD3C4",
|
244
|
+
"#FFA0A0",
|
245
|
+
"#6CBAFF",
|
246
|
+
"#55D339",
|
247
|
+
"#F9B052",
|
248
|
+
"#FF6C6C",
|
249
|
+
"#8E6BC9",
|
250
|
+
"#0088FF",
|
251
|
+
"#904026",
|
252
|
+
"#C4C4C4"
|
253
|
+
]
|
254
|
+
}
|
255
|
+
},
|
77
256
|
padding: {
|
78
257
|
top: 120,
|
79
|
-
right:
|
258
|
+
right: 60,
|
80
259
|
bottom: 0,
|
81
260
|
left: 60
|
82
261
|
}
|
@@ -84,8 +263,7 @@ const s = {
|
|
84
263
|
dataFormatter: {
|
85
264
|
sort: (t, e) => e.value - t.value
|
86
265
|
},
|
87
|
-
|
88
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
266
|
+
pluginParams: {
|
89
267
|
Pie: {
|
90
268
|
innerRadius: 0.5,
|
91
269
|
startAngle: -Math.PI / 2,
|
@@ -97,20 +275,39 @@ const s = {
|
|
97
275
|
},
|
98
276
|
PieEventTexts: {},
|
99
277
|
SeriesLegend: {
|
278
|
+
placement: "bottom",
|
100
279
|
listRectRadius: 7
|
101
280
|
// 圓型圖例列點
|
102
281
|
}
|
103
282
|
}
|
104
283
|
};
|
105
284
|
s.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
106
|
-
const
|
285
|
+
const o = {
|
107
286
|
name: "PRESET_PIE_WITH_INNER_LABELS",
|
108
|
-
description: "
|
287
|
+
description: "Pie chart with inner data labels",
|
288
|
+
descriptionZh: "圓餅圖及內部資料標籤",
|
289
|
+
chartParams: {
|
290
|
+
colors: {
|
291
|
+
light: {
|
292
|
+
label: [
|
293
|
+
"#7DD3C4",
|
294
|
+
"#FFA0A0",
|
295
|
+
"#6CBAFF",
|
296
|
+
"#55D339",
|
297
|
+
"#F9B052",
|
298
|
+
"#FF6C6C",
|
299
|
+
"#8E6BC9",
|
300
|
+
"#0088FF",
|
301
|
+
"#904026",
|
302
|
+
"#C4C4C4"
|
303
|
+
]
|
304
|
+
}
|
305
|
+
}
|
306
|
+
},
|
109
307
|
dataFormatter: {
|
110
308
|
sort: (t, e) => e.value - t.value
|
111
309
|
},
|
112
|
-
|
113
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
310
|
+
pluginParams: {
|
114
311
|
Pie: {},
|
115
312
|
PieLabels: {
|
116
313
|
labelCentroid: 1.3,
|
@@ -124,31 +321,176 @@ const l = {
|
|
124
321
|
}
|
125
322
|
}
|
126
323
|
};
|
324
|
+
o.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
325
|
+
const l = {
|
326
|
+
name: "PRESET_PIE_SEPARATE_SERIES",
|
327
|
+
description: "Separate pie chart of Series",
|
328
|
+
descriptionZh: "分開顯示Series的圓餅圖",
|
329
|
+
chartParams: {
|
330
|
+
colors: {
|
331
|
+
light: {
|
332
|
+
label: [
|
333
|
+
"#7DD3C4",
|
334
|
+
"#FFA0A0",
|
335
|
+
"#6CBAFF",
|
336
|
+
"#55D339",
|
337
|
+
"#F9B052",
|
338
|
+
"#FF6C6C",
|
339
|
+
"#8E6BC9",
|
340
|
+
"#0088FF",
|
341
|
+
"#904026",
|
342
|
+
"#C4C4C4"
|
343
|
+
]
|
344
|
+
}
|
345
|
+
}
|
346
|
+
},
|
347
|
+
dataFormatter: {
|
348
|
+
sort: (t, e) => e.value - t.value,
|
349
|
+
separateSeries: !0
|
350
|
+
},
|
351
|
+
pluginParams: {}
|
352
|
+
};
|
127
353
|
l.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
128
|
-
const
|
354
|
+
const n = {
|
355
|
+
name: "PRESET_PIE_SIMPLE",
|
356
|
+
description: "Simple pie chart",
|
357
|
+
descriptionZh: "簡單圓餅圖",
|
358
|
+
chartParams: {
|
359
|
+
padding: {
|
360
|
+
top: 30,
|
361
|
+
right: 30,
|
362
|
+
bottom: 30,
|
363
|
+
left: 30
|
364
|
+
},
|
365
|
+
colors: {
|
366
|
+
light: {
|
367
|
+
label: [
|
368
|
+
"#7DD3C4",
|
369
|
+
"#FFA0A0",
|
370
|
+
"#6CBAFF",
|
371
|
+
"#55D339",
|
372
|
+
"#F9B052",
|
373
|
+
"#FF6C6C",
|
374
|
+
"#8E6BC9",
|
375
|
+
"#0088FF",
|
376
|
+
"#904026",
|
377
|
+
"#C4C4C4"
|
378
|
+
]
|
379
|
+
}
|
380
|
+
}
|
381
|
+
},
|
382
|
+
dataFormatter: {
|
383
|
+
sort: (t, e) => e.value - t.value
|
384
|
+
},
|
385
|
+
pluginParams: {
|
386
|
+
SeriesLegend: {
|
387
|
+
listRectRadius: 7,
|
388
|
+
// 圓型圖例列點
|
389
|
+
padding: 7
|
390
|
+
}
|
391
|
+
}
|
392
|
+
};
|
393
|
+
n.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
394
|
+
const d = {
|
395
|
+
name: "PRESET_PIE_SUM_SERIES",
|
396
|
+
description: "Pie chart of combined Series data",
|
397
|
+
descriptionZh: "合併Series資料的圓餅圖",
|
398
|
+
chartParams: {
|
399
|
+
colors: {
|
400
|
+
light: {
|
401
|
+
label: [
|
402
|
+
"#7DD3C4",
|
403
|
+
"#FFA0A0",
|
404
|
+
"#6CBAFF",
|
405
|
+
"#55D339",
|
406
|
+
"#F9B052",
|
407
|
+
"#FF6C6C",
|
408
|
+
"#8E6BC9",
|
409
|
+
"#0088FF",
|
410
|
+
"#904026",
|
411
|
+
"#C4C4C4"
|
412
|
+
]
|
413
|
+
}
|
414
|
+
}
|
415
|
+
},
|
416
|
+
dataFormatter: {
|
417
|
+
sort: (t, e) => e.value - t.value,
|
418
|
+
sumSeries: !0
|
419
|
+
},
|
420
|
+
pluginParams: {}
|
421
|
+
};
|
422
|
+
d.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
423
|
+
const E = {
|
129
424
|
name: "PRESET_ROSE_BASIC",
|
130
|
-
description: "
|
425
|
+
description: "Basic Rose chart",
|
426
|
+
descriptionZh: "基本Rose參數",
|
427
|
+
chartParams: {
|
428
|
+
padding: {
|
429
|
+
top: 40,
|
430
|
+
right: 40,
|
431
|
+
bottom: 40,
|
432
|
+
left: 40
|
433
|
+
},
|
434
|
+
colors: {
|
435
|
+
light: {
|
436
|
+
label: [
|
437
|
+
"#8BC8FF",
|
438
|
+
"#4BABFF",
|
439
|
+
"#0088FF",
|
440
|
+
"#55D339",
|
441
|
+
"#29AB0C",
|
442
|
+
"#16B59B",
|
443
|
+
"#FCDCAD",
|
444
|
+
"#F9B052",
|
445
|
+
"#FF6C6C",
|
446
|
+
"#C4C4C4"
|
447
|
+
]
|
448
|
+
}
|
449
|
+
}
|
450
|
+
},
|
131
451
|
dataFormatter: {
|
132
452
|
sort: (t, e) => e.value - t.value
|
133
453
|
},
|
134
|
-
|
135
|
-
// ...ALL_PLUGIN_PARAMS_SERIES,
|
136
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
454
|
+
pluginParams: {
|
137
455
|
SeriesLegend: {
|
138
456
|
listRectRadius: 7
|
139
457
|
// 圓型圖例列點
|
140
458
|
}
|
141
459
|
}
|
142
460
|
};
|
143
|
-
|
144
|
-
const
|
461
|
+
E.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
462
|
+
const F = {
|
145
463
|
name: "PRESET_ROSE_SCALING_BY_RADIUS",
|
146
|
-
description: "
|
464
|
+
description: "Rose chart with radius scaling",
|
465
|
+
descriptionZh: "以半徑尺寸為比例的玫瑰圖",
|
466
|
+
chartParams: {
|
467
|
+
padding: {
|
468
|
+
top: 40,
|
469
|
+
right: 40,
|
470
|
+
bottom: 40,
|
471
|
+
left: 40
|
472
|
+
},
|
473
|
+
colors: {
|
474
|
+
light: {
|
475
|
+
label: [
|
476
|
+
"#8BC8FF",
|
477
|
+
"#4BABFF",
|
478
|
+
"#0088FF",
|
479
|
+
"#55D339",
|
480
|
+
"#29AB0C",
|
481
|
+
"#16B59B",
|
482
|
+
"#FCDCAD",
|
483
|
+
"#F9B052",
|
484
|
+
"#FF6C6C",
|
485
|
+
"#C4C4C4"
|
486
|
+
]
|
487
|
+
}
|
488
|
+
}
|
489
|
+
},
|
147
490
|
dataFormatter: {
|
148
491
|
sort: (t, e) => e.value - t.value
|
149
492
|
},
|
150
|
-
|
151
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
493
|
+
pluginParams: {
|
152
494
|
Rose: {
|
153
495
|
arcScaleType: "radius"
|
154
496
|
},
|
@@ -161,87 +503,258 @@ const n = {
|
|
161
503
|
}
|
162
504
|
}
|
163
505
|
};
|
164
|
-
|
165
|
-
const
|
166
|
-
name: "
|
167
|
-
description: "
|
168
|
-
|
506
|
+
F.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
507
|
+
const c = {
|
508
|
+
name: "PRESET_ROSE_SEPARATE_SERIES",
|
509
|
+
description: "Separate rose chart of Series",
|
510
|
+
descriptionZh: "分開顯示Series的玫瑰圖",
|
511
|
+
chartParams: {
|
512
|
+
padding: {
|
513
|
+
top: 40,
|
514
|
+
right: 40,
|
515
|
+
bottom: 40,
|
516
|
+
left: 40
|
517
|
+
},
|
518
|
+
colors: {
|
519
|
+
light: {
|
520
|
+
label: [
|
521
|
+
"#8BC8FF",
|
522
|
+
"#4BABFF",
|
523
|
+
"#0088FF",
|
524
|
+
"#55D339",
|
525
|
+
"#29AB0C",
|
526
|
+
"#16B59B",
|
527
|
+
"#FCDCAD",
|
528
|
+
"#F9B052",
|
529
|
+
"#FF6C6C",
|
530
|
+
"#C4C4C4"
|
531
|
+
]
|
532
|
+
}
|
533
|
+
}
|
534
|
+
},
|
535
|
+
dataFormatter: {
|
536
|
+
sort: (t, e) => e.value - t.value,
|
537
|
+
separateSeries: !0
|
538
|
+
},
|
539
|
+
pluginParams: {
|
169
540
|
// ...ALL_PLUGIN_PARAMS_SERIES,
|
170
541
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
542
|
+
}
|
543
|
+
};
|
544
|
+
c.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
545
|
+
const g = {
|
546
|
+
name: "PRESET_ROSE_SIMPLE",
|
547
|
+
description: "Simple Rose chart",
|
548
|
+
descriptionZh: "簡單Rose參數",
|
549
|
+
chartParams: {
|
550
|
+
padding: {
|
551
|
+
top: 20,
|
552
|
+
right: 20,
|
553
|
+
bottom: 20,
|
554
|
+
left: 20
|
555
|
+
},
|
556
|
+
colors: {
|
557
|
+
light: {
|
558
|
+
label: [
|
559
|
+
"#8BC8FF",
|
560
|
+
"#4BABFF",
|
561
|
+
"#0088FF",
|
562
|
+
"#55D339",
|
563
|
+
"#29AB0C",
|
564
|
+
"#16B59B",
|
565
|
+
"#FCDCAD",
|
566
|
+
"#F9B052",
|
567
|
+
"#FF6C6C",
|
568
|
+
"#C4C4C4"
|
569
|
+
]
|
570
|
+
}
|
571
|
+
}
|
572
|
+
},
|
573
|
+
dataFormatter: {
|
574
|
+
sort: (t, e) => e.value - t.value
|
575
|
+
},
|
576
|
+
pluginParams: {
|
171
577
|
SeriesLegend: {
|
172
|
-
listRectRadius: 7
|
578
|
+
listRectRadius: 7,
|
173
579
|
// 圓型圖例列點
|
580
|
+
padding: 7
|
174
581
|
}
|
175
582
|
}
|
176
|
-
}
|
177
|
-
|
178
|
-
|
583
|
+
};
|
584
|
+
g.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
585
|
+
const B = {
|
586
|
+
name: "PRESET_ROSE_SUM_SERIES",
|
587
|
+
description: "Rose chart of combined Series data",
|
588
|
+
descriptionZh: "合併Series資料的玫瑰圖",
|
589
|
+
chartParams: {
|
590
|
+
padding: {
|
591
|
+
top: 40,
|
592
|
+
right: 40,
|
593
|
+
bottom: 40,
|
594
|
+
left: 40
|
595
|
+
},
|
596
|
+
colors: {
|
597
|
+
light: {
|
598
|
+
label: [
|
599
|
+
"#8BC8FF",
|
600
|
+
"#4BABFF",
|
601
|
+
"#0088FF",
|
602
|
+
"#55D339",
|
603
|
+
"#29AB0C",
|
604
|
+
"#16B59B",
|
605
|
+
"#FCDCAD",
|
606
|
+
"#F9B052",
|
607
|
+
"#FF6C6C",
|
608
|
+
"#C4C4C4"
|
609
|
+
]
|
610
|
+
}
|
611
|
+
}
|
612
|
+
},
|
613
|
+
dataFormatter: {
|
614
|
+
sort: (t, e) => e.value - t.value,
|
615
|
+
sumSeries: !0
|
616
|
+
},
|
617
|
+
pluginParams: {}
|
618
|
+
};
|
619
|
+
B.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
620
|
+
const p = {
|
621
|
+
name: "PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES",
|
622
|
+
description: "Separate and sum Series data",
|
623
|
+
descriptionZh: "分開顯示Series並合併Series資料",
|
624
|
+
chartParams: {
|
625
|
+
padding: {
|
626
|
+
top: 40,
|
627
|
+
right: 40,
|
628
|
+
bottom: 40,
|
629
|
+
left: 40
|
630
|
+
},
|
631
|
+
colors: {
|
632
|
+
light: {
|
633
|
+
label: [
|
634
|
+
"#8BC8FF",
|
635
|
+
"#4BABFF",
|
636
|
+
"#0088FF",
|
637
|
+
"#55D339",
|
638
|
+
"#29AB0C",
|
639
|
+
"#16B59B",
|
640
|
+
"#FCDCAD",
|
641
|
+
"#F9B052",
|
642
|
+
"#FF6C6C",
|
643
|
+
"#C4C4C4"
|
644
|
+
]
|
645
|
+
}
|
646
|
+
}
|
647
|
+
},
|
179
648
|
dataFormatter: {
|
180
649
|
sort: (t, e) => e.value - t.value,
|
181
650
|
separateSeries: !0,
|
182
651
|
sumSeries: !0
|
183
652
|
},
|
184
|
-
|
653
|
+
pluginParams: {
|
185
654
|
// ...ALL_PLUGIN_PARAMS_SERIES,
|
186
655
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
187
656
|
}
|
188
657
|
};
|
189
|
-
|
190
|
-
const
|
658
|
+
p.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
659
|
+
const h = {
|
660
|
+
name: "PRESET_SERIES_BASIC",
|
661
|
+
description: "Basic Series parameters",
|
662
|
+
descriptionZh: "基本Series參數",
|
663
|
+
chartParams: {
|
664
|
+
colors: {
|
665
|
+
light: {
|
666
|
+
label: [
|
667
|
+
"#6CBAFF",
|
668
|
+
"#FF6C6C",
|
669
|
+
"#F9B052",
|
670
|
+
"#7DD3C4",
|
671
|
+
"#AA93D2",
|
672
|
+
"#0088FF",
|
673
|
+
"#FFBABA",
|
674
|
+
"#86DC72",
|
675
|
+
"#EF76FF",
|
676
|
+
"#C4C4C4"
|
677
|
+
]
|
678
|
+
}
|
679
|
+
}
|
680
|
+
},
|
681
|
+
pluginParams: {
|
682
|
+
SeriesLegend: {
|
683
|
+
listRectRadius: 7
|
684
|
+
// 圓型圖例列點
|
685
|
+
}
|
686
|
+
}
|
687
|
+
}, A = {
|
688
|
+
name: "PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES",
|
689
|
+
description: "Separate and sum Series data",
|
690
|
+
descriptionZh: "分開顯示Series並合併Series資料",
|
691
|
+
dataFormatter: {
|
692
|
+
sort: (t, e) => e.value - t.value,
|
693
|
+
separateSeries: !0,
|
694
|
+
sumSeries: !0
|
695
|
+
},
|
696
|
+
pluginParams: {}
|
697
|
+
};
|
698
|
+
A.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
699
|
+
const S = {
|
191
700
|
name: "PRESET_SERIES_SEPARATE_SERIES",
|
192
|
-
description: "
|
701
|
+
description: "Separate Series",
|
702
|
+
descriptionZh: "分開顯示Series",
|
193
703
|
dataFormatter: {
|
194
704
|
sort: (t, e) => e.value - t.value,
|
195
705
|
separateSeries: !0
|
196
706
|
},
|
197
|
-
|
198
|
-
// ...ALL_PLUGIN_PARAMS_SERIES,
|
199
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
200
|
-
}
|
707
|
+
pluginParams: {}
|
201
708
|
};
|
202
|
-
|
709
|
+
S.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
203
710
|
const R = {
|
204
711
|
name: "PRESET_SERIES_SUM_SERIES",
|
205
|
-
description: "
|
712
|
+
description: "Combine Series data",
|
713
|
+
descriptionZh: "合併Series資料",
|
206
714
|
dataFormatter: {
|
207
715
|
sort: (t, e) => e.value - t.value,
|
208
716
|
sumSeries: !0
|
209
717
|
},
|
210
|
-
|
211
|
-
// ...ALL_PLUGIN_PARAMS_SERIES,
|
212
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
213
|
-
}
|
718
|
+
pluginParams: {}
|
214
719
|
};
|
215
720
|
R.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
216
|
-
const
|
721
|
+
const P = {
|
217
722
|
name: "PRESET_BARS_HORIZONTAL_AND_ROUND",
|
218
|
-
description: "
|
723
|
+
description: "Horizontal bars with round corners",
|
724
|
+
descriptionZh: "橫向圓角長條圖",
|
219
725
|
chartParams: {
|
726
|
+
colors: {
|
727
|
+
light: {
|
728
|
+
label: [
|
729
|
+
"#4BABFF",
|
730
|
+
"#FFA0A0",
|
731
|
+
"#7DD3C4",
|
732
|
+
"#F9B052",
|
733
|
+
"#8454D4",
|
734
|
+
"#42C724",
|
735
|
+
"#FF4B4B",
|
736
|
+
"#904026",
|
737
|
+
"#4B25B3",
|
738
|
+
"#C50669"
|
739
|
+
]
|
740
|
+
}
|
741
|
+
},
|
220
742
|
padding: {
|
221
|
-
top:
|
222
|
-
right:
|
223
|
-
bottom:
|
743
|
+
top: 40,
|
744
|
+
right: 40,
|
745
|
+
bottom: 100,
|
224
746
|
left: 160
|
225
747
|
}
|
226
748
|
},
|
227
749
|
dataFormatter: {
|
228
|
-
// grid: {
|
229
750
|
valueAxis: {
|
230
751
|
position: "bottom"
|
231
|
-
// position: 'top'
|
232
|
-
// position: 'left'
|
233
|
-
// position: 'right'
|
234
752
|
},
|
235
753
|
groupAxis: {
|
236
754
|
position: "left"
|
237
|
-
// position: 'right'
|
238
|
-
// position: 'bottom'
|
239
|
-
// position: 'top'
|
240
755
|
}
|
241
|
-
// }
|
242
756
|
},
|
243
|
-
|
244
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
757
|
+
pluginParams: {
|
245
758
|
Bars: {
|
246
759
|
barWidth: 0,
|
247
760
|
barPadding: 1,
|
@@ -252,42 +765,48 @@ const u = {
|
|
252
765
|
ValueAxis: {},
|
253
766
|
GroupAux: {},
|
254
767
|
GridLegend: {
|
255
|
-
// 底部圖例及圓弧列點
|
256
|
-
// position: 'bottom',
|
257
|
-
// justify: 'center',
|
258
768
|
placement: "bottom",
|
259
769
|
padding: 14,
|
260
770
|
listRectRadius: 7
|
261
771
|
}
|
262
772
|
}
|
263
|
-
},
|
773
|
+
}, D = {
|
264
774
|
name: "PRESET_BARS_HORIZONTAL_AND_THIN",
|
265
|
-
description: "
|
775
|
+
description: "Horizontal thin bars",
|
776
|
+
descriptionZh: "橫向細長長條圖",
|
266
777
|
chartParams: {
|
778
|
+
colors: {
|
779
|
+
light: {
|
780
|
+
label: [
|
781
|
+
"#4BABFF",
|
782
|
+
"#FFA0A0",
|
783
|
+
"#7DD3C4",
|
784
|
+
"#F9B052",
|
785
|
+
"#8454D4",
|
786
|
+
"#42C724",
|
787
|
+
"#FF4B4B",
|
788
|
+
"#904026",
|
789
|
+
"#4B25B3",
|
790
|
+
"#C50669"
|
791
|
+
]
|
792
|
+
}
|
793
|
+
},
|
267
794
|
padding: {
|
268
|
-
top:
|
269
|
-
right:
|
270
|
-
bottom:
|
795
|
+
top: 40,
|
796
|
+
right: 40,
|
797
|
+
bottom: 100,
|
271
798
|
left: 160
|
272
799
|
}
|
273
800
|
},
|
274
801
|
dataFormatter: {
|
275
|
-
// grid: {
|
276
802
|
valueAxis: {
|
277
803
|
position: "bottom"
|
278
|
-
// position: 'top'
|
279
|
-
// position: 'left'
|
280
|
-
// position: 'right'
|
281
804
|
},
|
282
805
|
groupAxis: {
|
283
806
|
position: "left"
|
284
|
-
// position: 'right'
|
285
|
-
// position: 'bottom'
|
286
|
-
// position: 'top'
|
287
807
|
}
|
288
|
-
// }
|
289
808
|
},
|
290
|
-
|
809
|
+
pluginParams: {
|
291
810
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
292
811
|
Bars: {
|
293
812
|
barWidth: 20,
|
@@ -304,18 +823,35 @@ const u = {
|
|
304
823
|
padding: 14
|
305
824
|
}
|
306
825
|
}
|
307
|
-
},
|
826
|
+
}, T = {
|
308
827
|
name: "PRESET_BARS_ROUND",
|
309
|
-
description: "
|
828
|
+
description: "Rounded bars",
|
829
|
+
descriptionZh: "圓角長條圖",
|
310
830
|
chartParams: {
|
831
|
+
colors: {
|
832
|
+
light: {
|
833
|
+
label: [
|
834
|
+
"#4BABFF",
|
835
|
+
"#FFA0A0",
|
836
|
+
"#7DD3C4",
|
837
|
+
"#F9B052",
|
838
|
+
"#8454D4",
|
839
|
+
"#42C724",
|
840
|
+
"#FF4B4B",
|
841
|
+
"#904026",
|
842
|
+
"#4B25B3",
|
843
|
+
"#C50669"
|
844
|
+
]
|
845
|
+
}
|
846
|
+
},
|
311
847
|
padding: {
|
312
|
-
top:
|
313
|
-
right:
|
314
|
-
bottom:
|
315
|
-
left:
|
848
|
+
top: 40,
|
849
|
+
right: 40,
|
850
|
+
bottom: 100,
|
851
|
+
left: 80
|
316
852
|
}
|
317
853
|
},
|
318
|
-
|
854
|
+
pluginParams: {
|
319
855
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
320
856
|
Bars: {
|
321
857
|
barWidth: 0,
|
@@ -335,18 +871,35 @@ const u = {
|
|
335
871
|
listRectRadius: 7
|
336
872
|
}
|
337
873
|
}
|
338
|
-
},
|
874
|
+
}, I = {
|
339
875
|
name: "PRESET_BARS_THIN",
|
340
|
-
description: "
|
876
|
+
description: "Thin bars",
|
877
|
+
descriptionZh: "細長條圖",
|
341
878
|
chartParams: {
|
879
|
+
colors: {
|
880
|
+
light: {
|
881
|
+
label: [
|
882
|
+
"#4BABFF",
|
883
|
+
"#FFA0A0",
|
884
|
+
"#7DD3C4",
|
885
|
+
"#F9B052",
|
886
|
+
"#8454D4",
|
887
|
+
"#42C724",
|
888
|
+
"#FF4B4B",
|
889
|
+
"#904026",
|
890
|
+
"#4B25B3",
|
891
|
+
"#C50669"
|
892
|
+
]
|
893
|
+
}
|
894
|
+
},
|
342
895
|
padding: {
|
343
|
-
top:
|
344
|
-
right:
|
345
|
-
bottom:
|
346
|
-
left:
|
896
|
+
top: 40,
|
897
|
+
right: 40,
|
898
|
+
bottom: 100,
|
899
|
+
left: 80
|
347
900
|
}
|
348
901
|
},
|
349
|
-
|
902
|
+
pluginParams: {
|
350
903
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
351
904
|
Bars: {
|
352
905
|
barWidth: 20,
|
@@ -363,18 +916,35 @@ const u = {
|
|
363
916
|
padding: 14
|
364
917
|
}
|
365
918
|
}
|
366
|
-
},
|
919
|
+
}, L = {
|
367
920
|
name: "PRESET_GRID_BASIC",
|
368
|
-
description: "
|
921
|
+
description: "Basic Grid",
|
922
|
+
descriptionZh: "基本Grid參數",
|
369
923
|
chartParams: {
|
924
|
+
colors: {
|
925
|
+
light: {
|
926
|
+
label: [
|
927
|
+
"#4BABFF",
|
928
|
+
"#FFA0A0",
|
929
|
+
"#7DD3C4",
|
930
|
+
"#F9B052",
|
931
|
+
"#8454D4",
|
932
|
+
"#42C724",
|
933
|
+
"#FF4B4B",
|
934
|
+
"#904026",
|
935
|
+
"#4B25B3",
|
936
|
+
"#C50669"
|
937
|
+
]
|
938
|
+
}
|
939
|
+
},
|
370
940
|
padding: {
|
371
|
-
top:
|
372
|
-
right:
|
373
|
-
bottom:
|
374
|
-
left:
|
941
|
+
top: 40,
|
942
|
+
right: 40,
|
943
|
+
bottom: 100,
|
944
|
+
left: 80
|
375
945
|
}
|
376
946
|
},
|
377
|
-
|
947
|
+
pluginParams: {
|
378
948
|
// ...ALL_PLUGIN_PARAMS_GRID,
|
379
949
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
380
950
|
GridLegend: {
|
@@ -384,15 +954,32 @@ const u = {
|
|
384
954
|
padding: 14
|
385
955
|
}
|
386
956
|
}
|
387
|
-
},
|
957
|
+
}, b = {
|
388
958
|
name: "PRESET_GRID_HORIZONTAL",
|
389
|
-
description: "
|
959
|
+
description: "Horizontal Grid",
|
960
|
+
descriptionZh: "橫向圖",
|
390
961
|
chartParams: {
|
962
|
+
colors: {
|
963
|
+
light: {
|
964
|
+
label: [
|
965
|
+
"#4BABFF",
|
966
|
+
"#FFA0A0",
|
967
|
+
"#7DD3C4",
|
968
|
+
"#F9B052",
|
969
|
+
"#8454D4",
|
970
|
+
"#42C724",
|
971
|
+
"#FF4B4B",
|
972
|
+
"#904026",
|
973
|
+
"#4B25B3",
|
974
|
+
"#C50669"
|
975
|
+
]
|
976
|
+
}
|
977
|
+
},
|
391
978
|
// 間距下面及左邊留空
|
392
979
|
padding: {
|
393
|
-
top:
|
394
|
-
right:
|
395
|
-
bottom:
|
980
|
+
top: 40,
|
981
|
+
right: 40,
|
982
|
+
bottom: 100,
|
396
983
|
left: 160
|
397
984
|
}
|
398
985
|
},
|
@@ -412,7 +999,7 @@ const u = {
|
|
412
999
|
}
|
413
1000
|
// }
|
414
1001
|
},
|
415
|
-
|
1002
|
+
pluginParams: {
|
416
1003
|
// ...ALL_PLUGIN_PARAMS_GRID,
|
417
1004
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
418
1005
|
GridLegend: {
|
@@ -422,15 +1009,76 @@ const u = {
|
|
422
1009
|
padding: 14
|
423
1010
|
}
|
424
1011
|
}
|
425
|
-
},
|
1012
|
+
}, M = {
|
1013
|
+
name: "PRESET_GRID_PN_SCALE_SIMPLE",
|
1014
|
+
description: "Simple positive negative scale",
|
1015
|
+
descriptionZh: "簡單正負值分向圖",
|
1016
|
+
chartParams: {
|
1017
|
+
colors: {
|
1018
|
+
light: {
|
1019
|
+
label: [
|
1020
|
+
"#4BABFF",
|
1021
|
+
"#FFA0A0",
|
1022
|
+
"#7DD3C4",
|
1023
|
+
"#F9B052",
|
1024
|
+
"#8454D4",
|
1025
|
+
"#42C724",
|
1026
|
+
"#FF4B4B",
|
1027
|
+
"#904026",
|
1028
|
+
"#4B25B3",
|
1029
|
+
"#C50669"
|
1030
|
+
]
|
1031
|
+
}
|
1032
|
+
},
|
1033
|
+
padding: {
|
1034
|
+
top: 40,
|
1035
|
+
right: 40,
|
1036
|
+
bottom: 80,
|
1037
|
+
left: 40
|
1038
|
+
}
|
1039
|
+
},
|
1040
|
+
dataFormatter: {
|
1041
|
+
valueAxis: {
|
1042
|
+
scaleDomain: ["auto", "auto"],
|
1043
|
+
scaleRange: [0.05, 0.95]
|
1044
|
+
}
|
1045
|
+
},
|
1046
|
+
pluginParams: {
|
1047
|
+
// ...ALL_PLUGIN_PARAMS_GRID,
|
1048
|
+
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1049
|
+
GridLegend: {
|
1050
|
+
// position: 'bottom',
|
1051
|
+
// justify: 'center',
|
1052
|
+
placement: "bottom",
|
1053
|
+
padding: 7
|
1054
|
+
}
|
1055
|
+
}
|
1056
|
+
}, x = {
|
426
1057
|
name: "PRESET_GRID_PN_SCALE",
|
427
|
-
description: "
|
1058
|
+
description: "Positive negative scale",
|
1059
|
+
descriptionZh: "正負值分向圖",
|
428
1060
|
chartParams: {
|
1061
|
+
colors: {
|
1062
|
+
light: {
|
1063
|
+
label: [
|
1064
|
+
"#4BABFF",
|
1065
|
+
"#FFA0A0",
|
1066
|
+
"#7DD3C4",
|
1067
|
+
"#F9B052",
|
1068
|
+
"#8454D4",
|
1069
|
+
"#42C724",
|
1070
|
+
"#FF4B4B",
|
1071
|
+
"#904026",
|
1072
|
+
"#4B25B3",
|
1073
|
+
"#C50669"
|
1074
|
+
]
|
1075
|
+
}
|
1076
|
+
},
|
429
1077
|
padding: {
|
430
|
-
top:
|
431
|
-
right:
|
432
|
-
bottom:
|
433
|
-
left:
|
1078
|
+
top: 40,
|
1079
|
+
right: 40,
|
1080
|
+
bottom: 100,
|
1081
|
+
left: 80
|
434
1082
|
}
|
435
1083
|
},
|
436
1084
|
dataFormatter: {
|
@@ -441,7 +1089,7 @@ const u = {
|
|
441
1089
|
}
|
442
1090
|
// }
|
443
1091
|
},
|
444
|
-
|
1092
|
+
pluginParams: {
|
445
1093
|
// ...ALL_PLUGIN_PARAMS_GRID,
|
446
1094
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
447
1095
|
GridLegend: {
|
@@ -451,19 +1099,36 @@ const u = {
|
|
451
1099
|
padding: 14
|
452
1100
|
}
|
453
1101
|
}
|
454
|
-
},
|
1102
|
+
}, G = {
|
455
1103
|
name: "PRESET_GRID_ROTATE_AXIS_LABEL",
|
456
|
-
description: "
|
1104
|
+
description: "Rotate axis label",
|
1105
|
+
descriptionZh: "傾斜標籤",
|
457
1106
|
chartParams: {
|
1107
|
+
colors: {
|
1108
|
+
light: {
|
1109
|
+
label: [
|
1110
|
+
"#4BABFF",
|
1111
|
+
"#FFA0A0",
|
1112
|
+
"#7DD3C4",
|
1113
|
+
"#F9B052",
|
1114
|
+
"#8454D4",
|
1115
|
+
"#42C724",
|
1116
|
+
"#FF4B4B",
|
1117
|
+
"#904026",
|
1118
|
+
"#4B25B3",
|
1119
|
+
"#C50669"
|
1120
|
+
]
|
1121
|
+
}
|
1122
|
+
},
|
458
1123
|
// 間距下面加長留空
|
459
1124
|
padding: {
|
460
|
-
top:
|
461
|
-
right:
|
462
|
-
bottom:
|
463
|
-
left:
|
1125
|
+
top: 40,
|
1126
|
+
right: 40,
|
1127
|
+
bottom: 140,
|
1128
|
+
left: 80
|
464
1129
|
}
|
465
1130
|
},
|
466
|
-
|
1131
|
+
pluginParams: {
|
467
1132
|
// ...ALL_PLUGIN_PARAMS_GRID,
|
468
1133
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
469
1134
|
GroupAux: {
|
@@ -480,15 +1145,32 @@ const u = {
|
|
480
1145
|
padding: 14
|
481
1146
|
}
|
482
1147
|
}
|
483
|
-
},
|
1148
|
+
}, O = {
|
484
1149
|
name: "PRESET_GRID_SEPARATE_SERIES",
|
485
|
-
description: "
|
1150
|
+
description: "Separate Series",
|
1151
|
+
descriptionZh: "分開顯示Series",
|
486
1152
|
chartParams: {
|
1153
|
+
colors: {
|
1154
|
+
light: {
|
1155
|
+
label: [
|
1156
|
+
"#4BABFF",
|
1157
|
+
"#FFA0A0",
|
1158
|
+
"#7DD3C4",
|
1159
|
+
"#F9B052",
|
1160
|
+
"#8454D4",
|
1161
|
+
"#42C724",
|
1162
|
+
"#FF4B4B",
|
1163
|
+
"#904026",
|
1164
|
+
"#4B25B3",
|
1165
|
+
"#C50669"
|
1166
|
+
]
|
1167
|
+
}
|
1168
|
+
},
|
487
1169
|
padding: {
|
488
|
-
top:
|
489
|
-
right:
|
490
|
-
bottom:
|
491
|
-
left:
|
1170
|
+
top: 40,
|
1171
|
+
right: 40,
|
1172
|
+
bottom: 140,
|
1173
|
+
left: 80
|
492
1174
|
}
|
493
1175
|
},
|
494
1176
|
dataFormatter: {
|
@@ -497,7 +1179,7 @@ const u = {
|
|
497
1179
|
separateSeries: !0
|
498
1180
|
// },
|
499
1181
|
},
|
500
|
-
|
1182
|
+
pluginParams: {
|
501
1183
|
// ...ALL_PLUGIN_PARAMS_GRID,
|
502
1184
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
503
1185
|
GroupAux: {
|
@@ -514,15 +1196,71 @@ const u = {
|
|
514
1196
|
padding: 14
|
515
1197
|
}
|
516
1198
|
}
|
517
|
-
},
|
1199
|
+
}, N = {
|
1200
|
+
name: "PRESET_GRID_SIMPLE",
|
1201
|
+
description: "Simple Grid",
|
1202
|
+
descriptionZh: "簡單Grid參數",
|
1203
|
+
chartParams: {
|
1204
|
+
colors: {
|
1205
|
+
light: {
|
1206
|
+
label: [
|
1207
|
+
"#4BABFF",
|
1208
|
+
"#FFA0A0",
|
1209
|
+
"#7DD3C4",
|
1210
|
+
"#F9B052",
|
1211
|
+
"#8454D4",
|
1212
|
+
"#42C724",
|
1213
|
+
"#FF4B4B",
|
1214
|
+
"#904026",
|
1215
|
+
"#4B25B3",
|
1216
|
+
"#C50669"
|
1217
|
+
]
|
1218
|
+
}
|
1219
|
+
},
|
1220
|
+
padding: {
|
1221
|
+
top: 40,
|
1222
|
+
right: 40,
|
1223
|
+
bottom: 80,
|
1224
|
+
left: 40
|
1225
|
+
}
|
1226
|
+
},
|
1227
|
+
dataFormatter: {
|
1228
|
+
valueAxis: {
|
1229
|
+
scaleRange: [0, 0.95]
|
1230
|
+
}
|
1231
|
+
},
|
1232
|
+
pluginParams: {
|
1233
|
+
GridLegend: {
|
1234
|
+
placement: "bottom",
|
1235
|
+
padding: 7
|
1236
|
+
}
|
1237
|
+
}
|
1238
|
+
}, v = {
|
518
1239
|
name: "PRESET_LINE_AREAS_BASIC",
|
519
|
-
description: "
|
1240
|
+
description: "Basic LineArea",
|
1241
|
+
descriptionZh: "基本折線區域圖",
|
520
1242
|
chartParams: {
|
1243
|
+
colors: {
|
1244
|
+
light: {
|
1245
|
+
label: [
|
1246
|
+
"#4BABFF",
|
1247
|
+
"#FFA0A0",
|
1248
|
+
"#7DD3C4",
|
1249
|
+
"#F9B052",
|
1250
|
+
"#8454D4",
|
1251
|
+
"#42C724",
|
1252
|
+
"#FF4B4B",
|
1253
|
+
"#904026",
|
1254
|
+
"#4B25B3",
|
1255
|
+
"#C50669"
|
1256
|
+
]
|
1257
|
+
}
|
1258
|
+
},
|
521
1259
|
padding: {
|
522
|
-
top:
|
523
|
-
right:
|
524
|
-
bottom:
|
525
|
-
left:
|
1260
|
+
top: 40,
|
1261
|
+
right: 40,
|
1262
|
+
bottom: 100,
|
1263
|
+
left: 80
|
526
1264
|
},
|
527
1265
|
highlightTarget: "series"
|
528
1266
|
},
|
@@ -533,7 +1271,7 @@ const u = {
|
|
533
1271
|
}
|
534
1272
|
// }
|
535
1273
|
},
|
536
|
-
|
1274
|
+
pluginParams: {
|
537
1275
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
538
1276
|
Lines: {},
|
539
1277
|
LineAreas: {},
|
@@ -549,15 +1287,32 @@ const u = {
|
|
549
1287
|
listRectHeight: 2
|
550
1288
|
}
|
551
1289
|
}
|
552
|
-
},
|
1290
|
+
}, Z = {
|
553
1291
|
name: "PRESET_LINE_AREAS_CURVE",
|
554
|
-
description: "
|
1292
|
+
description: "Curve LineArea",
|
1293
|
+
descriptionZh: "弧線的折線區域圖",
|
555
1294
|
chartParams: {
|
1295
|
+
colors: {
|
1296
|
+
light: {
|
1297
|
+
label: [
|
1298
|
+
"#4BABFF",
|
1299
|
+
"#FFA0A0",
|
1300
|
+
"#7DD3C4",
|
1301
|
+
"#F9B052",
|
1302
|
+
"#8454D4",
|
1303
|
+
"#42C724",
|
1304
|
+
"#FF4B4B",
|
1305
|
+
"#904026",
|
1306
|
+
"#4B25B3",
|
1307
|
+
"#C50669"
|
1308
|
+
]
|
1309
|
+
}
|
1310
|
+
},
|
556
1311
|
padding: {
|
557
|
-
top:
|
558
|
-
right:
|
559
|
-
bottom:
|
560
|
-
left:
|
1312
|
+
top: 40,
|
1313
|
+
right: 40,
|
1314
|
+
bottom: 100,
|
1315
|
+
left: 80
|
561
1316
|
},
|
562
1317
|
highlightTarget: "series"
|
563
1318
|
},
|
@@ -568,7 +1323,7 @@ const u = {
|
|
568
1323
|
}
|
569
1324
|
// }
|
570
1325
|
},
|
571
|
-
|
1326
|
+
pluginParams: {
|
572
1327
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
573
1328
|
Lines: {
|
574
1329
|
lineCurve: "curveMonotoneX",
|
@@ -589,20 +1344,36 @@ const u = {
|
|
589
1344
|
listRectHeight: 2
|
590
1345
|
}
|
591
1346
|
}
|
592
|
-
},
|
1347
|
+
}, U = {
|
593
1348
|
name: "PRESET_LINE_AREAS_HORIZONTAL",
|
594
|
-
description: "
|
1349
|
+
description: "Horizontal LineArea",
|
1350
|
+
descriptionZh: "橫向折線區域圖",
|
595
1351
|
chartParams: {
|
1352
|
+
colors: {
|
1353
|
+
light: {
|
1354
|
+
label: [
|
1355
|
+
"#4BABFF",
|
1356
|
+
"#FFA0A0",
|
1357
|
+
"#7DD3C4",
|
1358
|
+
"#F9B052",
|
1359
|
+
"#8454D4",
|
1360
|
+
"#42C724",
|
1361
|
+
"#FF4B4B",
|
1362
|
+
"#904026",
|
1363
|
+
"#4B25B3",
|
1364
|
+
"#C50669"
|
1365
|
+
]
|
1366
|
+
}
|
1367
|
+
},
|
596
1368
|
padding: {
|
597
|
-
top:
|
598
|
-
right:
|
599
|
-
bottom:
|
1369
|
+
top: 40,
|
1370
|
+
right: 40,
|
1371
|
+
bottom: 100,
|
600
1372
|
left: 160
|
601
1373
|
},
|
602
1374
|
highlightTarget: "series"
|
603
1375
|
},
|
604
1376
|
dataFormatter: {
|
605
|
-
// grid: {
|
606
1377
|
valueAxis: {
|
607
1378
|
position: "bottom"
|
608
1379
|
},
|
@@ -610,10 +1381,8 @@ const u = {
|
|
610
1381
|
position: "left",
|
611
1382
|
scalePadding: 0
|
612
1383
|
}
|
613
|
-
// }
|
614
1384
|
},
|
615
|
-
|
616
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1385
|
+
pluginParams: {
|
617
1386
|
Lines: {},
|
618
1387
|
LineAreas: {},
|
619
1388
|
Dots: {},
|
@@ -621,34 +1390,46 @@ const u = {
|
|
621
1390
|
ValueAxis: {},
|
622
1391
|
GroupAux: {},
|
623
1392
|
GridLegend: {
|
624
|
-
// position: 'bottom',
|
625
|
-
// justify: 'center',
|
626
1393
|
placement: "bottom",
|
627
1394
|
padding: 14,
|
628
1395
|
listRectHeight: 2
|
629
1396
|
}
|
630
1397
|
}
|
631
|
-
},
|
1398
|
+
}, f = {
|
632
1399
|
name: "PRESET_LINE_AREAS_LOOSE_TICKS",
|
633
|
-
description: "
|
1400
|
+
description: "Loose Ticks LineArea",
|
1401
|
+
descriptionZh: "寬鬆標籤的折線區域圖",
|
634
1402
|
chartParams: {
|
1403
|
+
colors: {
|
1404
|
+
light: {
|
1405
|
+
label: [
|
1406
|
+
"#4BABFF",
|
1407
|
+
"#FFA0A0",
|
1408
|
+
"#7DD3C4",
|
1409
|
+
"#F9B052",
|
1410
|
+
"#8454D4",
|
1411
|
+
"#42C724",
|
1412
|
+
"#FF4B4B",
|
1413
|
+
"#904026",
|
1414
|
+
"#4B25B3",
|
1415
|
+
"#C50669"
|
1416
|
+
]
|
1417
|
+
}
|
1418
|
+
},
|
635
1419
|
padding: {
|
636
|
-
top:
|
637
|
-
right:
|
638
|
-
bottom:
|
639
|
-
left:
|
1420
|
+
top: 40,
|
1421
|
+
right: 40,
|
1422
|
+
bottom: 100,
|
1423
|
+
left: 80
|
640
1424
|
},
|
641
1425
|
highlightTarget: "series"
|
642
1426
|
},
|
643
1427
|
dataFormatter: {
|
644
|
-
// grid: {
|
645
1428
|
groupAxis: {
|
646
1429
|
scalePadding: 0
|
647
1430
|
}
|
648
|
-
// }
|
649
1431
|
},
|
650
|
-
|
651
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1432
|
+
pluginParams: {
|
652
1433
|
Lines: {},
|
653
1434
|
LineAreas: {},
|
654
1435
|
Dots: {},
|
@@ -658,34 +1439,46 @@ const u = {
|
|
658
1439
|
ValueAxis: {},
|
659
1440
|
GroupAux: {},
|
660
1441
|
GridLegend: {
|
661
|
-
// position: 'bottom',
|
662
|
-
// justify: 'center',
|
663
1442
|
placement: "bottom",
|
664
1443
|
padding: 14,
|
665
1444
|
listRectHeight: 2
|
666
1445
|
}
|
667
1446
|
}
|
668
|
-
},
|
1447
|
+
}, V = {
|
669
1448
|
name: "PRESET_LINE_AREAS_ROTATE_AXIS_LABEL",
|
670
|
-
description: "
|
1449
|
+
description: "Rotate Axis Label LineArea",
|
1450
|
+
descriptionZh: "傾斜標籤的折線區域圖",
|
671
1451
|
chartParams: {
|
1452
|
+
colors: {
|
1453
|
+
light: {
|
1454
|
+
label: [
|
1455
|
+
"#4BABFF",
|
1456
|
+
"#FFA0A0",
|
1457
|
+
"#7DD3C4",
|
1458
|
+
"#F9B052",
|
1459
|
+
"#8454D4",
|
1460
|
+
"#42C724",
|
1461
|
+
"#FF4B4B",
|
1462
|
+
"#904026",
|
1463
|
+
"#4B25B3",
|
1464
|
+
"#C50669"
|
1465
|
+
]
|
1466
|
+
}
|
1467
|
+
},
|
672
1468
|
padding: {
|
673
|
-
top:
|
674
|
-
right:
|
675
|
-
bottom:
|
676
|
-
left:
|
1469
|
+
top: 40,
|
1470
|
+
right: 40,
|
1471
|
+
bottom: 140,
|
1472
|
+
left: 80
|
677
1473
|
},
|
678
1474
|
highlightTarget: "series"
|
679
1475
|
},
|
680
1476
|
dataFormatter: {
|
681
|
-
// grid: {
|
682
1477
|
groupAxis: {
|
683
1478
|
scalePadding: 0
|
684
1479
|
}
|
685
|
-
// }
|
686
1480
|
},
|
687
|
-
|
688
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1481
|
+
pluginParams: {
|
689
1482
|
Lines: {},
|
690
1483
|
LineAreas: {},
|
691
1484
|
Dots: {},
|
@@ -698,36 +1491,47 @@ const u = {
|
|
698
1491
|
labelRotate: -30
|
699
1492
|
},
|
700
1493
|
GridLegend: {
|
701
|
-
// position: 'bottom',
|
702
|
-
// justify: 'center',
|
703
1494
|
placement: "bottom",
|
704
1495
|
padding: 14,
|
705
1496
|
listRectHeight: 2
|
706
1497
|
}
|
707
1498
|
}
|
708
|
-
},
|
1499
|
+
}, H = {
|
709
1500
|
name: "PRESET_LINE_AREAS_SEPARATE_SERIES",
|
710
|
-
description: "
|
1501
|
+
description: "Separate Series LineArea",
|
1502
|
+
descriptionZh: "分開顯示Series的折線區域圖",
|
711
1503
|
chartParams: {
|
1504
|
+
colors: {
|
1505
|
+
light: {
|
1506
|
+
label: [
|
1507
|
+
"#4BABFF",
|
1508
|
+
"#FFA0A0",
|
1509
|
+
"#7DD3C4",
|
1510
|
+
"#F9B052",
|
1511
|
+
"#8454D4",
|
1512
|
+
"#42C724",
|
1513
|
+
"#FF4B4B",
|
1514
|
+
"#904026",
|
1515
|
+
"#4B25B3",
|
1516
|
+
"#C50669"
|
1517
|
+
]
|
1518
|
+
}
|
1519
|
+
},
|
712
1520
|
padding: {
|
713
|
-
top:
|
714
|
-
right:
|
715
|
-
bottom:
|
716
|
-
left:
|
1521
|
+
top: 40,
|
1522
|
+
right: 40,
|
1523
|
+
bottom: 140,
|
1524
|
+
left: 80
|
717
1525
|
},
|
718
1526
|
highlightTarget: "series"
|
719
1527
|
},
|
720
1528
|
dataFormatter: {
|
721
|
-
// grid: {
|
722
|
-
// seriesSlotIndexes: [0, 1],
|
723
1529
|
separateSeries: !0,
|
724
1530
|
groupAxis: {
|
725
1531
|
scalePadding: 0
|
726
1532
|
}
|
727
|
-
// },
|
728
1533
|
},
|
729
|
-
|
730
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1534
|
+
pluginParams: {
|
731
1535
|
Lines: {},
|
732
1536
|
LineAreas: {},
|
733
1537
|
Dots: {},
|
@@ -740,54 +1544,132 @@ const u = {
|
|
740
1544
|
labelRotate: -30
|
741
1545
|
},
|
742
1546
|
GridLegend: {
|
743
|
-
// position: 'bottom',
|
744
|
-
// justify: 'center',
|
745
1547
|
placement: "bottom",
|
746
1548
|
padding: 14,
|
747
1549
|
listRectHeight: 2
|
748
1550
|
}
|
749
1551
|
}
|
750
|
-
},
|
1552
|
+
}, k = {
|
1553
|
+
name: "PRESET_LINE_AREAS_SIMPLE",
|
1554
|
+
description: "Simple LineArea",
|
1555
|
+
descriptionZh: "簡單折線區域圖",
|
1556
|
+
chartParams: {
|
1557
|
+
colors: {
|
1558
|
+
light: {
|
1559
|
+
label: [
|
1560
|
+
"#4BABFF",
|
1561
|
+
"#FFA0A0",
|
1562
|
+
"#7DD3C4",
|
1563
|
+
"#F9B052",
|
1564
|
+
"#8454D4",
|
1565
|
+
"#42C724",
|
1566
|
+
"#FF4B4B",
|
1567
|
+
"#904026",
|
1568
|
+
"#4B25B3",
|
1569
|
+
"#C50669"
|
1570
|
+
]
|
1571
|
+
}
|
1572
|
+
},
|
1573
|
+
padding: {
|
1574
|
+
top: 40,
|
1575
|
+
right: 40,
|
1576
|
+
bottom: 80,
|
1577
|
+
left: 40
|
1578
|
+
},
|
1579
|
+
highlightTarget: "series"
|
1580
|
+
},
|
1581
|
+
dataFormatter: {
|
1582
|
+
groupAxis: {
|
1583
|
+
scalePadding: 0
|
1584
|
+
},
|
1585
|
+
valueAxis: {
|
1586
|
+
scaleRange: [0, 0.95]
|
1587
|
+
}
|
1588
|
+
},
|
1589
|
+
pluginParams: {
|
1590
|
+
Lines: {},
|
1591
|
+
LineAreas: {},
|
1592
|
+
Dots: {},
|
1593
|
+
GroupAxis: {},
|
1594
|
+
ValueAxis: {},
|
1595
|
+
GroupAux: {},
|
1596
|
+
GridLegend: {
|
1597
|
+
placement: "bottom",
|
1598
|
+
padding: 7,
|
1599
|
+
listRectHeight: 2
|
1600
|
+
}
|
1601
|
+
}
|
1602
|
+
}, y = {
|
751
1603
|
name: "PRESET_LINES_BASIC",
|
752
|
-
description: "
|
1604
|
+
description: "Basic Line",
|
1605
|
+
descriptionZh: "基本折線圖",
|
753
1606
|
chartParams: {
|
1607
|
+
colors: {
|
1608
|
+
light: {
|
1609
|
+
label: [
|
1610
|
+
"#4BABFF",
|
1611
|
+
"#FFA0A0",
|
1612
|
+
"#7DD3C4",
|
1613
|
+
"#F9B052",
|
1614
|
+
"#8454D4",
|
1615
|
+
"#42C724",
|
1616
|
+
"#FF4B4B",
|
1617
|
+
"#904026",
|
1618
|
+
"#4B25B3",
|
1619
|
+
"#C50669"
|
1620
|
+
]
|
1621
|
+
}
|
1622
|
+
},
|
754
1623
|
padding: {
|
755
|
-
top:
|
756
|
-
right:
|
757
|
-
bottom:
|
758
|
-
left:
|
1624
|
+
top: 40,
|
1625
|
+
right: 40,
|
1626
|
+
bottom: 100,
|
1627
|
+
left: 80
|
759
1628
|
},
|
760
1629
|
highlightTarget: "series"
|
761
1630
|
},
|
762
|
-
|
763
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1631
|
+
pluginParams: {
|
764
1632
|
Lines: {},
|
765
1633
|
Dots: {},
|
766
1634
|
GroupAxis: {},
|
767
1635
|
ValueAxis: {},
|
768
1636
|
GroupAux: {},
|
769
1637
|
GridLegend: {
|
770
|
-
// position: 'bottom',
|
771
|
-
// justify: 'center',
|
772
1638
|
placement: "bottom",
|
773
1639
|
padding: 14,
|
774
1640
|
listRectHeight: 2
|
775
1641
|
}
|
776
1642
|
}
|
777
|
-
},
|
1643
|
+
}, w = {
|
778
1644
|
name: "PRESET_LINES_CURVE",
|
779
|
-
description: "
|
1645
|
+
description: "Curve Line",
|
1646
|
+
descriptionZh: "弧線折線圖",
|
780
1647
|
chartParams: {
|
1648
|
+
colors: {
|
1649
|
+
light: {
|
1650
|
+
label: [
|
1651
|
+
"#4BABFF",
|
1652
|
+
"#FFA0A0",
|
1653
|
+
"#7DD3C4",
|
1654
|
+
"#F9B052",
|
1655
|
+
"#8454D4",
|
1656
|
+
"#42C724",
|
1657
|
+
"#FF4B4B",
|
1658
|
+
"#904026",
|
1659
|
+
"#4B25B3",
|
1660
|
+
"#C50669"
|
1661
|
+
]
|
1662
|
+
}
|
1663
|
+
},
|
781
1664
|
padding: {
|
782
|
-
top:
|
783
|
-
right:
|
784
|
-
bottom:
|
785
|
-
left:
|
1665
|
+
top: 40,
|
1666
|
+
right: 40,
|
1667
|
+
bottom: 100,
|
1668
|
+
left: 80
|
786
1669
|
},
|
787
1670
|
highlightTarget: "series"
|
788
1671
|
},
|
789
|
-
|
790
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1672
|
+
pluginParams: {
|
791
1673
|
Lines: {
|
792
1674
|
lineCurve: "curveMonotoneX",
|
793
1675
|
lineWidth: 3
|
@@ -797,70 +1679,90 @@ const u = {
|
|
797
1679
|
ValueAxis: {},
|
798
1680
|
GroupAux: {},
|
799
1681
|
GridLegend: {
|
800
|
-
// position: 'bottom',
|
801
|
-
// justify: 'center',
|
802
1682
|
placement: "bottom",
|
803
1683
|
padding: 14,
|
804
1684
|
listRectHeight: 2
|
805
1685
|
}
|
806
1686
|
}
|
807
|
-
},
|
1687
|
+
}, W = {
|
808
1688
|
name: "PRESET_LINES_HORIZONTAL",
|
809
|
-
description: "
|
1689
|
+
description: "Horizontal Line",
|
1690
|
+
descriptionZh: "橫向折線圖",
|
810
1691
|
chartParams: {
|
1692
|
+
colors: {
|
1693
|
+
light: {
|
1694
|
+
label: [
|
1695
|
+
"#4BABFF",
|
1696
|
+
"#FFA0A0",
|
1697
|
+
"#7DD3C4",
|
1698
|
+
"#F9B052",
|
1699
|
+
"#8454D4",
|
1700
|
+
"#42C724",
|
1701
|
+
"#FF4B4B",
|
1702
|
+
"#904026",
|
1703
|
+
"#4B25B3",
|
1704
|
+
"#C50669"
|
1705
|
+
]
|
1706
|
+
}
|
1707
|
+
},
|
811
1708
|
padding: {
|
812
|
-
top:
|
813
|
-
right:
|
814
|
-
bottom:
|
1709
|
+
top: 40,
|
1710
|
+
right: 40,
|
1711
|
+
bottom: 100,
|
815
1712
|
left: 160
|
816
1713
|
},
|
817
1714
|
highlightTarget: "series"
|
818
1715
|
},
|
819
1716
|
dataFormatter: {
|
820
|
-
// grid: {
|
821
1717
|
valueAxis: {
|
822
1718
|
position: "bottom"
|
823
|
-
// position: 'top'
|
824
|
-
// position: 'left'
|
825
|
-
// position: 'right'
|
826
1719
|
},
|
827
1720
|
groupAxis: {
|
828
1721
|
position: "left"
|
829
|
-
// position: 'right'
|
830
|
-
// position: 'bottom'
|
831
|
-
// position: 'top'
|
832
1722
|
}
|
833
|
-
// }
|
834
1723
|
},
|
835
|
-
|
836
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1724
|
+
pluginParams: {
|
837
1725
|
Lines: {},
|
838
1726
|
Dots: {},
|
839
1727
|
GroupAxis: {},
|
840
1728
|
ValueAxis: {},
|
841
1729
|
GroupAux: {},
|
842
1730
|
GridLegend: {
|
843
|
-
// position: 'bottom',
|
844
|
-
// justify: 'center',
|
845
1731
|
placement: "bottom",
|
846
1732
|
padding: 14,
|
847
1733
|
listRectHeight: 2
|
848
1734
|
}
|
849
1735
|
}
|
850
|
-
},
|
1736
|
+
}, Y = {
|
851
1737
|
name: "PRESET_LINES_LOOSE_TICKS",
|
852
|
-
description: "
|
1738
|
+
description: "Loose Ticks Line",
|
1739
|
+
descriptionZh: "寬鬆標籤的折線圖",
|
853
1740
|
chartParams: {
|
1741
|
+
colors: {
|
1742
|
+
light: {
|
1743
|
+
label: [
|
1744
|
+
"#4BABFF",
|
1745
|
+
"#FFA0A0",
|
1746
|
+
"#7DD3C4",
|
1747
|
+
"#F9B052",
|
1748
|
+
"#8454D4",
|
1749
|
+
"#42C724",
|
1750
|
+
"#FF4B4B",
|
1751
|
+
"#904026",
|
1752
|
+
"#4B25B3",
|
1753
|
+
"#C50669"
|
1754
|
+
]
|
1755
|
+
}
|
1756
|
+
},
|
854
1757
|
padding: {
|
855
|
-
top:
|
856
|
-
right:
|
857
|
-
bottom:
|
858
|
-
left:
|
1758
|
+
top: 40,
|
1759
|
+
right: 40,
|
1760
|
+
bottom: 100,
|
1761
|
+
left: 80
|
859
1762
|
},
|
860
1763
|
highlightTarget: "series"
|
861
1764
|
},
|
862
|
-
|
863
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1765
|
+
pluginParams: {
|
864
1766
|
Lines: {},
|
865
1767
|
Dots: {},
|
866
1768
|
GroupAxis: {
|
@@ -869,27 +1771,41 @@ const u = {
|
|
869
1771
|
ValueAxis: {},
|
870
1772
|
GroupAux: {},
|
871
1773
|
GridLegend: {
|
872
|
-
// position: 'bottom',
|
873
|
-
// justify: 'center',
|
874
1774
|
placement: "bottom",
|
875
1775
|
padding: 14,
|
876
1776
|
listRectHeight: 2
|
877
1777
|
}
|
878
1778
|
}
|
879
|
-
},
|
1779
|
+
}, X = {
|
880
1780
|
name: "PRESET_LINES_ROTATE_AXIS_LABEL",
|
881
|
-
description: "
|
1781
|
+
description: "Line chart with slanted labels",
|
1782
|
+
descriptionZh: "傾斜標籤的折線圖",
|
882
1783
|
chartParams: {
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
1784
|
+
colors: {
|
1785
|
+
light: {
|
1786
|
+
label: [
|
1787
|
+
"#4BABFF",
|
1788
|
+
"#FFA0A0",
|
1789
|
+
"#7DD3C4",
|
1790
|
+
"#F9B052",
|
1791
|
+
"#8454D4",
|
1792
|
+
"#42C724",
|
1793
|
+
"#FF4B4B",
|
1794
|
+
"#904026",
|
1795
|
+
"#4B25B3",
|
1796
|
+
"#C50669"
|
1797
|
+
]
|
1798
|
+
}
|
1799
|
+
},
|
1800
|
+
padding: {
|
1801
|
+
top: 40,
|
1802
|
+
right: 40,
|
1803
|
+
bottom: 140,
|
1804
|
+
left: 80
|
888
1805
|
},
|
889
1806
|
highlightTarget: "series"
|
890
1807
|
},
|
891
|
-
|
892
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1808
|
+
pluginParams: {
|
893
1809
|
Lines: {},
|
894
1810
|
Dots: {},
|
895
1811
|
GroupAxis: {
|
@@ -901,27 +1817,87 @@ const u = {
|
|
901
1817
|
labelRotate: -30
|
902
1818
|
},
|
903
1819
|
GridLegend: {
|
904
|
-
// position: 'bottom',
|
905
|
-
// justify: 'center',
|
906
1820
|
placement: "bottom",
|
907
1821
|
padding: 14,
|
908
1822
|
listRectHeight: 2
|
909
1823
|
}
|
910
1824
|
}
|
911
|
-
},
|
1825
|
+
}, z = {
|
1826
|
+
name: "PRESET_LINES_SIMPLE",
|
1827
|
+
description: "Simple line",
|
1828
|
+
descriptionZh: "簡單折線圖",
|
1829
|
+
chartParams: {
|
1830
|
+
colors: {
|
1831
|
+
light: {
|
1832
|
+
label: [
|
1833
|
+
"#4BABFF",
|
1834
|
+
"#FFA0A0",
|
1835
|
+
"#7DD3C4",
|
1836
|
+
"#F9B052",
|
1837
|
+
"#8454D4",
|
1838
|
+
"#42C724",
|
1839
|
+
"#FF4B4B",
|
1840
|
+
"#904026",
|
1841
|
+
"#4B25B3",
|
1842
|
+
"#C50669"
|
1843
|
+
]
|
1844
|
+
}
|
1845
|
+
},
|
1846
|
+
padding: {
|
1847
|
+
top: 40,
|
1848
|
+
right: 40,
|
1849
|
+
bottom: 80,
|
1850
|
+
left: 40
|
1851
|
+
},
|
1852
|
+
highlightTarget: "series"
|
1853
|
+
},
|
1854
|
+
dataFormatter: {
|
1855
|
+
valueAxis: {
|
1856
|
+
scaleRange: [0, 0.95]
|
1857
|
+
}
|
1858
|
+
},
|
1859
|
+
pluginParams: {
|
1860
|
+
Lines: {},
|
1861
|
+
Dots: {},
|
1862
|
+
GroupAxis: {},
|
1863
|
+
ValueAxis: {},
|
1864
|
+
GroupAux: {},
|
1865
|
+
GridLegend: {
|
1866
|
+
placement: "bottom",
|
1867
|
+
padding: 7,
|
1868
|
+
listRectHeight: 2
|
1869
|
+
}
|
1870
|
+
}
|
1871
|
+
}, K = {
|
912
1872
|
name: "PRESET_LINES_WITH_SOLID_DOTS",
|
913
|
-
description: "
|
1873
|
+
description: "Solid Dots Line",
|
1874
|
+
descriptionZh: "實心圓點的折線圖",
|
914
1875
|
chartParams: {
|
1876
|
+
colors: {
|
1877
|
+
light: {
|
1878
|
+
label: [
|
1879
|
+
"#4BABFF",
|
1880
|
+
"#FFA0A0",
|
1881
|
+
"#7DD3C4",
|
1882
|
+
"#F9B052",
|
1883
|
+
"#8454D4",
|
1884
|
+
"#42C724",
|
1885
|
+
"#FF4B4B",
|
1886
|
+
"#904026",
|
1887
|
+
"#4B25B3",
|
1888
|
+
"#C50669"
|
1889
|
+
]
|
1890
|
+
}
|
1891
|
+
},
|
915
1892
|
padding: {
|
916
|
-
top:
|
917
|
-
right:
|
918
|
-
bottom:
|
919
|
-
left:
|
1893
|
+
top: 40,
|
1894
|
+
right: 40,
|
1895
|
+
bottom: 100,
|
1896
|
+
left: 80
|
920
1897
|
},
|
921
1898
|
highlightTarget: "series"
|
922
1899
|
},
|
923
|
-
|
924
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1900
|
+
pluginParams: {
|
925
1901
|
Lines: {},
|
926
1902
|
Dots: {
|
927
1903
|
radius: 3,
|
@@ -932,31 +1908,42 @@ const u = {
|
|
932
1908
|
ValueAxis: {},
|
933
1909
|
GroupAux: {},
|
934
1910
|
GridLegend: {
|
935
|
-
// position: 'bottom',
|
936
|
-
// justify: 'center',
|
937
1911
|
placement: "bottom",
|
938
1912
|
padding: 14,
|
939
1913
|
listRectHeight: 2
|
940
1914
|
}
|
941
1915
|
}
|
942
|
-
},
|
1916
|
+
}, j = {
|
943
1917
|
name: "PRESET_MULTI_GRID_BASIC",
|
944
|
-
description: "
|
1918
|
+
description: "Basic MultiGrid",
|
1919
|
+
descriptionZh: "基本MultiGrid參數",
|
945
1920
|
chartParams: {
|
1921
|
+
colors: {
|
1922
|
+
light: {
|
1923
|
+
label: [
|
1924
|
+
"#4BABFF",
|
1925
|
+
"#94D6CB",
|
1926
|
+
"#F9B052",
|
1927
|
+
"#8454D4",
|
1928
|
+
"#D58C75",
|
1929
|
+
"#42C724",
|
1930
|
+
"#FF8B8B",
|
1931
|
+
"#904026",
|
1932
|
+
"#C50669",
|
1933
|
+
"#4B25B3"
|
1934
|
+
]
|
1935
|
+
}
|
1936
|
+
},
|
946
1937
|
padding: {
|
947
|
-
top:
|
948
|
-
right:
|
949
|
-
bottom:
|
950
|
-
left:
|
1938
|
+
top: 40,
|
1939
|
+
right: 40,
|
1940
|
+
bottom: 100,
|
1941
|
+
left: 80
|
951
1942
|
},
|
952
1943
|
highlightTarget: "series"
|
953
1944
|
},
|
954
|
-
|
955
|
-
// ...ALL_PLUGIN_PARAMS_MULTI_GRID,
|
956
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1945
|
+
pluginParams: {
|
957
1946
|
MultiGridLegend: {
|
958
|
-
// position: 'bottom',
|
959
|
-
// justify: 'center',
|
960
1947
|
placement: "bottom",
|
961
1948
|
padding: 14,
|
962
1949
|
gridList: [
|
@@ -967,15 +1954,127 @@ const u = {
|
|
967
1954
|
]
|
968
1955
|
}
|
969
1956
|
}
|
970
|
-
},
|
1957
|
+
}, q = {
|
1958
|
+
name: "PRESET_MULTI_GRID_DIVERGING_SIMPLE",
|
1959
|
+
description: "Simple diverging Grid",
|
1960
|
+
descriptionZh: "簡單雙向Grid",
|
1961
|
+
chartParams: {
|
1962
|
+
colors: {
|
1963
|
+
light: {
|
1964
|
+
label: [
|
1965
|
+
"#4BABFF",
|
1966
|
+
"#94D6CB",
|
1967
|
+
"#F9B052",
|
1968
|
+
"#8454D4",
|
1969
|
+
"#D58C75",
|
1970
|
+
"#42C724",
|
1971
|
+
"#FF8B8B",
|
1972
|
+
"#904026",
|
1973
|
+
"#C50669",
|
1974
|
+
"#4B25B3"
|
1975
|
+
]
|
1976
|
+
}
|
1977
|
+
},
|
1978
|
+
padding: {
|
1979
|
+
top: 40,
|
1980
|
+
right: 40,
|
1981
|
+
bottom: 60,
|
1982
|
+
left: 40
|
1983
|
+
}
|
1984
|
+
},
|
1985
|
+
dataFormatter: {
|
1986
|
+
gridList: [
|
1987
|
+
// 第一個grid
|
1988
|
+
{
|
1989
|
+
groupAxis: {
|
1990
|
+
position: "right"
|
1991
|
+
},
|
1992
|
+
valueAxis: {
|
1993
|
+
position: "bottom",
|
1994
|
+
scaleRange: [0, 0.95]
|
1995
|
+
}
|
1996
|
+
},
|
1997
|
+
// 第二個grid
|
1998
|
+
{
|
1999
|
+
groupAxis: {
|
2000
|
+
position: "left"
|
2001
|
+
},
|
2002
|
+
valueAxis: {
|
2003
|
+
position: "bottom",
|
2004
|
+
scaleRange: [0, 0.95]
|
2005
|
+
}
|
2006
|
+
}
|
2007
|
+
],
|
2008
|
+
// 設定排版方式
|
2009
|
+
container: {
|
2010
|
+
gap: 100,
|
2011
|
+
rowAmount: 1,
|
2012
|
+
columnAmount: 2
|
2013
|
+
},
|
2014
|
+
separateGrid: !0
|
2015
|
+
// 將兩個grid拆分
|
2016
|
+
},
|
2017
|
+
pluginParams: {
|
2018
|
+
MultiGroupAxis: {
|
2019
|
+
tickPadding: 10,
|
2020
|
+
gridIndexes: [0]
|
2021
|
+
// 只顯示一個
|
2022
|
+
},
|
2023
|
+
MultiValueAxis: {
|
2024
|
+
gridIndexes: [0, 1]
|
2025
|
+
},
|
2026
|
+
MultiStackedValueAxis: {
|
2027
|
+
gridIndexes: [0, 1]
|
2028
|
+
},
|
2029
|
+
MultiBars: {
|
2030
|
+
gridIndexes: [0, 1]
|
2031
|
+
},
|
2032
|
+
MultiStackedBars: {
|
2033
|
+
gridIndexes: [0, 1]
|
2034
|
+
},
|
2035
|
+
MultiBarsTriangle: {
|
2036
|
+
gridIndexes: [0, 1]
|
2037
|
+
},
|
2038
|
+
MultiLines: {
|
2039
|
+
gridIndexes: [0, 1]
|
2040
|
+
},
|
2041
|
+
MultiLineAreas: {
|
2042
|
+
gridIndexes: [0, 1]
|
2043
|
+
},
|
2044
|
+
MultiDots: {
|
2045
|
+
gridIndexes: [0, 1]
|
2046
|
+
},
|
2047
|
+
MultiGridLegend: {
|
2048
|
+
placement: "bottom",
|
2049
|
+
padding: 7
|
2050
|
+
}
|
2051
|
+
}
|
2052
|
+
}, J = {
|
971
2053
|
name: "PRESET_MULTI_GRID_DIVERGING",
|
972
|
-
description: "
|
2054
|
+
description: "Diverging Grid",
|
2055
|
+
descriptionZh: "雙向Grid",
|
973
2056
|
chartParams: {
|
2057
|
+
colors: {
|
2058
|
+
light: {
|
2059
|
+
label: [
|
2060
|
+
"#4BABFF",
|
2061
|
+
"#94D6CB",
|
2062
|
+
"#F9B052",
|
2063
|
+
"#8454D4",
|
2064
|
+
"#D58C75",
|
2065
|
+
"#42C724",
|
2066
|
+
"#FF8B8B",
|
2067
|
+
"#904026",
|
2068
|
+
"#C50669",
|
2069
|
+
"#4B25B3"
|
2070
|
+
]
|
2071
|
+
}
|
2072
|
+
},
|
974
2073
|
padding: {
|
975
|
-
top:
|
976
|
-
right:
|
977
|
-
bottom:
|
978
|
-
left:
|
2074
|
+
top: 40,
|
2075
|
+
right: 40,
|
2076
|
+
bottom: 100,
|
2077
|
+
left: 80
|
979
2078
|
}
|
980
2079
|
},
|
981
2080
|
dataFormatter: {
|
@@ -1001,18 +2100,15 @@ const u = {
|
|
1001
2100
|
],
|
1002
2101
|
// 設定排版方式
|
1003
2102
|
container: {
|
1004
|
-
gap:
|
2103
|
+
gap: 160,
|
1005
2104
|
rowAmount: 1,
|
1006
2105
|
columnAmount: 2
|
1007
2106
|
},
|
1008
2107
|
separateGrid: !0
|
1009
2108
|
// 將兩個grid拆分
|
1010
2109
|
},
|
1011
|
-
|
1012
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
2110
|
+
pluginParams: {
|
1013
2111
|
MultiGroupAxis: {
|
1014
|
-
tickPadding: 60,
|
1015
|
-
// 加長間距
|
1016
2112
|
gridIndexes: [0]
|
1017
2113
|
// 只顯示一個
|
1018
2114
|
},
|
@@ -1025,7 +2121,7 @@ const u = {
|
|
1025
2121
|
MultiBars: {
|
1026
2122
|
gridIndexes: [0, 1]
|
1027
2123
|
},
|
1028
|
-
|
2124
|
+
MultiStackedBars: {
|
1029
2125
|
gridIndexes: [0, 1]
|
1030
2126
|
},
|
1031
2127
|
MultiBarsTriangle: {
|
@@ -1041,37 +2137,120 @@ const u = {
|
|
1041
2137
|
gridIndexes: [0, 1]
|
1042
2138
|
},
|
1043
2139
|
MultiGridLegend: {
|
1044
|
-
// position: 'bottom',
|
1045
|
-
// justify: 'center',
|
1046
2140
|
placement: "bottom",
|
1047
2141
|
padding: 14
|
1048
2142
|
}
|
1049
2143
|
}
|
1050
|
-
},
|
2144
|
+
}, Q = {
|
2145
|
+
name: "PRESET_MULTI_GRID_ROUND_STYLE_SIMPLE",
|
2146
|
+
description: "Simple MultiGrid with round style",
|
2147
|
+
descriptionZh: "簡單MultiGrid圓弧風格",
|
2148
|
+
chartParams: {
|
2149
|
+
colors: {
|
2150
|
+
light: {
|
2151
|
+
label: [
|
2152
|
+
"#4BABFF",
|
2153
|
+
"#94D6CB",
|
2154
|
+
"#F9B052",
|
2155
|
+
"#8454D4",
|
2156
|
+
"#D58C75",
|
2157
|
+
"#42C724",
|
2158
|
+
"#FF8B8B",
|
2159
|
+
"#904026",
|
2160
|
+
"#C50669",
|
2161
|
+
"#4B25B3"
|
2162
|
+
]
|
2163
|
+
}
|
2164
|
+
},
|
2165
|
+
padding: {
|
2166
|
+
top: 40,
|
2167
|
+
right: 40,
|
2168
|
+
bottom: 60,
|
2169
|
+
left: 80
|
2170
|
+
},
|
2171
|
+
highlightTarget: "series"
|
2172
|
+
},
|
2173
|
+
dataFormatter: {
|
2174
|
+
gridList: [
|
2175
|
+
// 設定一個所有grid一起套用
|
2176
|
+
{
|
2177
|
+
valueAxis: {
|
2178
|
+
scaleRange: [0, 0.95]
|
2179
|
+
}
|
2180
|
+
}
|
2181
|
+
]
|
2182
|
+
},
|
2183
|
+
pluginParams: {
|
2184
|
+
MultiBars: {
|
2185
|
+
barWidth: 0,
|
2186
|
+
barPadding: 1,
|
2187
|
+
barGroupPadding: 10,
|
2188
|
+
barRadius: !0
|
2189
|
+
},
|
2190
|
+
MultiStackedBars: {},
|
2191
|
+
MultiDots: {},
|
2192
|
+
MultiGridLegend: {
|
2193
|
+
placement: "bottom",
|
2194
|
+
padding: 14,
|
2195
|
+
gridList: [
|
2196
|
+
{
|
2197
|
+
listRectRadius: 7
|
2198
|
+
},
|
2199
|
+
{
|
2200
|
+
listRectHeight: 2
|
2201
|
+
}
|
2202
|
+
]
|
2203
|
+
},
|
2204
|
+
MultiGroupAxis: {},
|
2205
|
+
MultiLineAreas: {},
|
2206
|
+
MultiLines: {
|
2207
|
+
lineCurve: "curveMonotoneX",
|
2208
|
+
lineWidth: 3
|
2209
|
+
},
|
2210
|
+
MultiValueAxis: {},
|
2211
|
+
MultiStackedValueAxis: {},
|
2212
|
+
OverlappingValueAxes: {},
|
2213
|
+
OverlappingStackedValueAxes: {}
|
2214
|
+
}
|
2215
|
+
}, $ = {
|
1051
2216
|
name: "PRESET_MULTI_GRID_ROUND_STYLE",
|
1052
|
-
description: "MultiGrid
|
2217
|
+
description: "MultiGrid with round style",
|
2218
|
+
descriptionZh: "MultiGrid圓弧風格",
|
1053
2219
|
chartParams: {
|
2220
|
+
colors: {
|
2221
|
+
light: {
|
2222
|
+
label: [
|
2223
|
+
"#4BABFF",
|
2224
|
+
"#94D6CB",
|
2225
|
+
"#F9B052",
|
2226
|
+
"#8454D4",
|
2227
|
+
"#D58C75",
|
2228
|
+
"#42C724",
|
2229
|
+
"#FF8B8B",
|
2230
|
+
"#904026",
|
2231
|
+
"#C50669",
|
2232
|
+
"#4B25B3"
|
2233
|
+
]
|
2234
|
+
}
|
2235
|
+
},
|
1054
2236
|
padding: {
|
1055
|
-
top:
|
1056
|
-
right:
|
1057
|
-
bottom:
|
1058
|
-
left:
|
2237
|
+
top: 40,
|
2238
|
+
right: 40,
|
2239
|
+
bottom: 100,
|
2240
|
+
left: 80
|
1059
2241
|
},
|
1060
2242
|
highlightTarget: "series"
|
1061
2243
|
},
|
1062
|
-
|
1063
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
2244
|
+
pluginParams: {
|
1064
2245
|
MultiBars: {
|
1065
2246
|
barWidth: 0,
|
1066
2247
|
barPadding: 1,
|
1067
2248
|
barGroupPadding: 10,
|
1068
2249
|
barRadius: !0
|
1069
2250
|
},
|
1070
|
-
|
2251
|
+
MultiStackedBars: {},
|
1071
2252
|
MultiDots: {},
|
1072
2253
|
MultiGridLegend: {
|
1073
|
-
// position: 'bottom',
|
1074
|
-
// justify: 'center',
|
1075
2254
|
placement: "bottom",
|
1076
2255
|
padding: 14,
|
1077
2256
|
gridList: [
|
@@ -1094,24 +2273,51 @@ const u = {
|
|
1094
2273
|
OverlappingValueAxes: {},
|
1095
2274
|
OverlappingStackedValueAxes: {}
|
1096
2275
|
}
|
1097
|
-
},
|
1098
|
-
name: "
|
1099
|
-
description: "2
|
2276
|
+
}, tt = {
|
2277
|
+
name: "PRESET_MULTI_GRID_SEPARATE_GRID_SIMPLE",
|
2278
|
+
description: "Simple 2 groups of Grid chart",
|
2279
|
+
descriptionZh: "簡單2組Grid圖表",
|
1100
2280
|
chartParams: {
|
2281
|
+
colors: {
|
2282
|
+
light: {
|
2283
|
+
label: [
|
2284
|
+
"#4BABFF",
|
2285
|
+
"#94D6CB",
|
2286
|
+
"#F9B052",
|
2287
|
+
"#8454D4",
|
2288
|
+
"#D58C75",
|
2289
|
+
"#42C724",
|
2290
|
+
"#FF8B8B",
|
2291
|
+
"#904026",
|
2292
|
+
"#C50669",
|
2293
|
+
"#4B25B3"
|
2294
|
+
]
|
2295
|
+
}
|
2296
|
+
},
|
1101
2297
|
padding: {
|
1102
|
-
top:
|
1103
|
-
right:
|
1104
|
-
bottom:
|
1105
|
-
left:
|
2298
|
+
top: 40,
|
2299
|
+
right: 40,
|
2300
|
+
bottom: 80,
|
2301
|
+
left: 40
|
1106
2302
|
}
|
1107
2303
|
},
|
1108
2304
|
dataFormatter: {
|
1109
|
-
|
2305
|
+
gridList: [
|
2306
|
+
// 設定一個所有grid一起套用
|
2307
|
+
{
|
2308
|
+
valueAxis: {
|
2309
|
+
scaleRange: [0, 0.95]
|
2310
|
+
}
|
2311
|
+
}
|
2312
|
+
],
|
2313
|
+
separateGrid: !0,
|
2314
|
+
container: {
|
2315
|
+
gap: 40
|
2316
|
+
}
|
1110
2317
|
},
|
1111
|
-
|
1112
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
2318
|
+
pluginParams: {
|
1113
2319
|
MultiGroupAxis: {
|
1114
|
-
tickTextRotate: -30,
|
2320
|
+
// tickTextRotate: -30,
|
1115
2321
|
gridIndexes: "all"
|
1116
2322
|
},
|
1117
2323
|
MultiValueAxis: {
|
@@ -1123,7 +2329,7 @@ const u = {
|
|
1123
2329
|
MultiBars: {
|
1124
2330
|
gridIndexes: "all"
|
1125
2331
|
},
|
1126
|
-
|
2332
|
+
MultiStackedBars: {
|
1127
2333
|
gridIndexes: "all"
|
1128
2334
|
},
|
1129
2335
|
MultiBarsTriangle: {
|
@@ -1139,48 +2345,281 @@ const u = {
|
|
1139
2345
|
gridIndexes: "all"
|
1140
2346
|
},
|
1141
2347
|
MultiGridLegend: {
|
1142
|
-
// position: 'bottom',
|
1143
|
-
// justify: 'center',
|
1144
2348
|
placement: "bottom",
|
1145
|
-
padding:
|
2349
|
+
padding: 7
|
1146
2350
|
}
|
1147
2351
|
}
|
1148
|
-
},
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1152
|
-
description: "2組區域圖表",
|
2352
|
+
}, et = {
|
2353
|
+
name: "PRESET_MULTI_GRID_SEPARATE_GRID",
|
2354
|
+
description: "2 groups of Grid chart",
|
2355
|
+
descriptionZh: "2組Grid圖表",
|
1153
2356
|
chartParams: {
|
2357
|
+
colors: {
|
2358
|
+
light: {
|
2359
|
+
label: [
|
2360
|
+
"#4BABFF",
|
2361
|
+
"#94D6CB",
|
2362
|
+
"#F9B052",
|
2363
|
+
"#8454D4",
|
2364
|
+
"#D58C75",
|
2365
|
+
"#42C724",
|
2366
|
+
"#FF8B8B",
|
2367
|
+
"#904026",
|
2368
|
+
"#C50669",
|
2369
|
+
"#4B25B3"
|
2370
|
+
]
|
2371
|
+
}
|
2372
|
+
},
|
1154
2373
|
padding: {
|
1155
|
-
top:
|
1156
|
-
right:
|
1157
|
-
bottom:
|
1158
|
-
left:
|
2374
|
+
top: 40,
|
2375
|
+
right: 40,
|
2376
|
+
bottom: 140,
|
2377
|
+
left: 80
|
1159
2378
|
}
|
1160
2379
|
},
|
1161
2380
|
dataFormatter: {
|
1162
|
-
gridList: [
|
1163
|
-
{
|
1164
|
-
// slotIndex: 0
|
1165
|
-
groupAxis: {
|
1166
|
-
scalePadding: 0
|
1167
|
-
}
|
1168
|
-
},
|
1169
|
-
{
|
1170
|
-
// slotIndex: 1,
|
1171
|
-
groupAxis: {
|
1172
|
-
scalePadding: 0
|
1173
|
-
}
|
1174
|
-
}
|
1175
|
-
],
|
1176
2381
|
separateGrid: !0
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
2382
|
+
},
|
2383
|
+
pluginParams: {
|
2384
|
+
MultiGroupAxis: {
|
2385
|
+
tickTextRotate: -30,
|
2386
|
+
gridIndexes: "all"
|
2387
|
+
},
|
2388
|
+
MultiValueAxis: {
|
2389
|
+
gridIndexes: "all"
|
2390
|
+
},
|
2391
|
+
MultiStackedValueAxis: {
|
2392
|
+
gridIndexes: "all"
|
2393
|
+
},
|
2394
|
+
MultiBars: {
|
2395
|
+
gridIndexes: "all"
|
2396
|
+
},
|
2397
|
+
MultiStackedBars: {
|
2398
|
+
gridIndexes: "all"
|
2399
|
+
},
|
2400
|
+
MultiBarsTriangle: {
|
2401
|
+
gridIndexes: "all"
|
2402
|
+
},
|
2403
|
+
MultiLines: {
|
2404
|
+
gridIndexes: "all"
|
2405
|
+
},
|
2406
|
+
MultiLineAreas: {
|
2407
|
+
gridIndexes: "all"
|
2408
|
+
},
|
2409
|
+
MultiDots: {
|
2410
|
+
gridIndexes: "all"
|
2411
|
+
},
|
2412
|
+
MultiGridLegend: {
|
2413
|
+
placement: "bottom",
|
2414
|
+
padding: 14
|
2415
|
+
}
|
2416
|
+
}
|
2417
|
+
}, it = {
|
2418
|
+
name: "PRESET_MULTI_GRID_SIMPLE",
|
2419
|
+
description: "Simple MultiGrid",
|
2420
|
+
descriptionZh: "簡單MultiGrid",
|
2421
|
+
chartParams: {
|
2422
|
+
colors: {
|
2423
|
+
light: {
|
2424
|
+
label: [
|
2425
|
+
"#4BABFF",
|
2426
|
+
"#94D6CB",
|
2427
|
+
"#F9B052",
|
2428
|
+
"#8454D4",
|
2429
|
+
"#D58C75",
|
2430
|
+
"#42C724",
|
2431
|
+
"#FF8B8B",
|
2432
|
+
"#904026",
|
2433
|
+
"#C50669",
|
2434
|
+
"#4B25B3"
|
2435
|
+
]
|
2436
|
+
}
|
2437
|
+
},
|
2438
|
+
padding: {
|
2439
|
+
top: 40,
|
2440
|
+
right: 40,
|
2441
|
+
bottom: 80,
|
2442
|
+
left: 40
|
2443
|
+
},
|
2444
|
+
highlightTarget: "series"
|
2445
|
+
},
|
2446
|
+
dataFormatter: {
|
2447
|
+
gridList: [
|
2448
|
+
// 設定一個所有grid一起套用
|
2449
|
+
{
|
2450
|
+
valueAxis: {
|
2451
|
+
scaleRange: [0, 0.95]
|
2452
|
+
}
|
2453
|
+
}
|
2454
|
+
]
|
2455
|
+
},
|
2456
|
+
pluginParams: {
|
2457
|
+
MultiGridLegend: {
|
2458
|
+
placement: "bottom",
|
2459
|
+
padding: 7,
|
2460
|
+
gridList: [
|
2461
|
+
{},
|
2462
|
+
{
|
2463
|
+
listRectHeight: 2
|
2464
|
+
}
|
2465
|
+
]
|
2466
|
+
}
|
2467
|
+
}
|
2468
|
+
}, at = {
|
2469
|
+
name: "PRESET_MULTI_LINE_AREAS_SEPARATE_GRID_SIMPLE",
|
2470
|
+
description: "Simple 2 groups of Line Area chart",
|
2471
|
+
descriptionZh: "簡單2組區域折線圖",
|
2472
|
+
chartParams: {
|
2473
|
+
colors: {
|
2474
|
+
light: {
|
2475
|
+
label: [
|
2476
|
+
"#4BABFF",
|
2477
|
+
"#94D6CB",
|
2478
|
+
"#F9B052",
|
2479
|
+
"#8454D4",
|
2480
|
+
"#D58C75",
|
2481
|
+
"#42C724",
|
2482
|
+
"#FF8B8B",
|
2483
|
+
"#904026",
|
2484
|
+
"#C50669",
|
2485
|
+
"#4B25B3"
|
2486
|
+
]
|
2487
|
+
}
|
2488
|
+
},
|
2489
|
+
padding: {
|
2490
|
+
top: 40,
|
2491
|
+
right: 60,
|
2492
|
+
bottom: 80,
|
2493
|
+
left: 60
|
2494
|
+
}
|
2495
|
+
},
|
2496
|
+
dataFormatter: {
|
2497
|
+
gridList: [
|
2498
|
+
// 設定一個所有grid一起套用
|
2499
|
+
{
|
2500
|
+
groupAxis: {
|
2501
|
+
scalePadding: 0
|
2502
|
+
},
|
2503
|
+
valueAxis: {
|
2504
|
+
scaleRange: [0, 0.95]
|
2505
|
+
}
|
2506
|
+
}
|
2507
|
+
],
|
2508
|
+
separateGrid: !0
|
2509
|
+
// container: {
|
2510
|
+
// gap: 40
|
1180
2511
|
// }
|
1181
2512
|
},
|
1182
|
-
|
1183
|
-
|
2513
|
+
pluginParams: {
|
2514
|
+
MultiGroupAxis: {
|
2515
|
+
// tickTextRotate: -30,
|
2516
|
+
gridIndexes: "all"
|
2517
|
+
},
|
2518
|
+
MultiValueAxis: {
|
2519
|
+
gridIndexes: "all"
|
2520
|
+
},
|
2521
|
+
MultiStackedValueAxis: {
|
2522
|
+
gridIndexes: "all"
|
2523
|
+
},
|
2524
|
+
MultiBars: {
|
2525
|
+
gridIndexes: "all"
|
2526
|
+
},
|
2527
|
+
MultiStackedBars: {
|
2528
|
+
gridIndexes: "all"
|
2529
|
+
},
|
2530
|
+
MultiBarsTriangle: {
|
2531
|
+
gridIndexes: "all"
|
2532
|
+
},
|
2533
|
+
MultiLines: {
|
2534
|
+
gridIndexes: "all"
|
2535
|
+
},
|
2536
|
+
MultiLineAreas: {
|
2537
|
+
gridIndexes: "all"
|
2538
|
+
},
|
2539
|
+
MultiDots: {
|
2540
|
+
gridIndexes: "all"
|
2541
|
+
},
|
2542
|
+
MultiGridLegend: {
|
2543
|
+
placement: "bottom",
|
2544
|
+
padding: 7,
|
2545
|
+
gridList: [
|
2546
|
+
{
|
2547
|
+
listRectHeight: 2
|
2548
|
+
},
|
2549
|
+
{
|
2550
|
+
listRectHeight: 2
|
2551
|
+
},
|
2552
|
+
{
|
2553
|
+
listRectHeight: 2
|
2554
|
+
},
|
2555
|
+
{
|
2556
|
+
listRectHeight: 2
|
2557
|
+
},
|
2558
|
+
{
|
2559
|
+
listRectHeight: 2
|
2560
|
+
},
|
2561
|
+
{
|
2562
|
+
listRectHeight: 2
|
2563
|
+
},
|
2564
|
+
{
|
2565
|
+
listRectHeight: 2
|
2566
|
+
},
|
2567
|
+
{
|
2568
|
+
listRectHeight: 2
|
2569
|
+
}
|
2570
|
+
]
|
2571
|
+
}
|
2572
|
+
}
|
2573
|
+
}, rt = {
|
2574
|
+
name: "PRESET_MULTI_LINE_AREAS_SEPARATE_GRID",
|
2575
|
+
description: "2 groups of Line Area chart",
|
2576
|
+
descriptionZh: "2組區域折線圖",
|
2577
|
+
chartParams: {
|
2578
|
+
colors: {
|
2579
|
+
light: {
|
2580
|
+
label: [
|
2581
|
+
"#4BABFF",
|
2582
|
+
"#94D6CB",
|
2583
|
+
"#F9B052",
|
2584
|
+
"#8454D4",
|
2585
|
+
"#D58C75",
|
2586
|
+
"#42C724",
|
2587
|
+
"#FF8B8B",
|
2588
|
+
"#904026",
|
2589
|
+
"#C50669",
|
2590
|
+
"#4B25B3"
|
2591
|
+
]
|
2592
|
+
}
|
2593
|
+
},
|
2594
|
+
padding: {
|
2595
|
+
top: 40,
|
2596
|
+
right: 40,
|
2597
|
+
bottom: 140,
|
2598
|
+
left: 80
|
2599
|
+
}
|
2600
|
+
},
|
2601
|
+
dataFormatter: {
|
2602
|
+
gridList: [
|
2603
|
+
{
|
2604
|
+
// slotIndex: 0
|
2605
|
+
groupAxis: {
|
2606
|
+
scalePadding: 0
|
2607
|
+
}
|
2608
|
+
},
|
2609
|
+
{
|
2610
|
+
// slotIndex: 1,
|
2611
|
+
groupAxis: {
|
2612
|
+
scalePadding: 0
|
2613
|
+
}
|
2614
|
+
}
|
2615
|
+
],
|
2616
|
+
separateGrid: !0
|
2617
|
+
// container: {
|
2618
|
+
// rowAmount: 1,
|
2619
|
+
// columnAmount: 2,
|
2620
|
+
// }
|
2621
|
+
},
|
2622
|
+
pluginParams: {
|
1184
2623
|
MultiGroupAxis: {
|
1185
2624
|
tickTextRotate: -30,
|
1186
2625
|
gridIndexes: "all"
|
@@ -1194,7 +2633,7 @@ const u = {
|
|
1194
2633
|
MultiBars: {
|
1195
2634
|
gridIndexes: "all"
|
1196
2635
|
},
|
1197
|
-
|
2636
|
+
MultiStackedBars: {
|
1198
2637
|
gridIndexes: "all"
|
1199
2638
|
},
|
1200
2639
|
MultiBarsTriangle: {
|
@@ -1242,22 +2681,140 @@ const u = {
|
|
1242
2681
|
]
|
1243
2682
|
}
|
1244
2683
|
}
|
1245
|
-
},
|
2684
|
+
}, st = {
|
2685
|
+
name: "PRESET_MULTI_LINES_SEPARATE_GRID_SIMPLE",
|
2686
|
+
description: "Simple Multiple groups of Line chart",
|
2687
|
+
descriptionZh: "簡單多組分開折線圖表",
|
2688
|
+
chartParams: {
|
2689
|
+
colors: {
|
2690
|
+
light: {
|
2691
|
+
label: [
|
2692
|
+
"#4BABFF",
|
2693
|
+
"#94D6CB",
|
2694
|
+
"#F9B052",
|
2695
|
+
"#8454D4",
|
2696
|
+
"#D58C75",
|
2697
|
+
"#42C724",
|
2698
|
+
"#FF8B8B",
|
2699
|
+
"#904026",
|
2700
|
+
"#C50669",
|
2701
|
+
"#4B25B3"
|
2702
|
+
]
|
2703
|
+
}
|
2704
|
+
},
|
2705
|
+
padding: {
|
2706
|
+
top: 40,
|
2707
|
+
right: 40,
|
2708
|
+
bottom: 80,
|
2709
|
+
left: 40
|
2710
|
+
}
|
2711
|
+
},
|
2712
|
+
dataFormatter: {
|
2713
|
+
gridList: [
|
2714
|
+
// 設定一個所有grid一起套用
|
2715
|
+
{
|
2716
|
+
valueAxis: {
|
2717
|
+
scaleRange: [0, 0.95]
|
2718
|
+
}
|
2719
|
+
}
|
2720
|
+
],
|
2721
|
+
separateGrid: !0,
|
2722
|
+
container: {
|
2723
|
+
gap: 40
|
2724
|
+
}
|
2725
|
+
},
|
2726
|
+
pluginParams: {
|
2727
|
+
MultiGroupAxis: {
|
2728
|
+
// tickTextRotate: -30,
|
2729
|
+
gridIndexes: "all"
|
2730
|
+
},
|
2731
|
+
MultiValueAxis: {
|
2732
|
+
gridIndexes: "all"
|
2733
|
+
},
|
2734
|
+
MultiStackedValueAxis: {
|
2735
|
+
gridIndexes: "all"
|
2736
|
+
},
|
2737
|
+
MultiBars: {
|
2738
|
+
gridIndexes: "all"
|
2739
|
+
},
|
2740
|
+
MultiStackedBars: {
|
2741
|
+
gridIndexes: "all"
|
2742
|
+
},
|
2743
|
+
MultiBarsTriangle: {
|
2744
|
+
gridIndexes: "all"
|
2745
|
+
},
|
2746
|
+
MultiLines: {
|
2747
|
+
gridIndexes: "all"
|
2748
|
+
},
|
2749
|
+
MultiLineAreas: {
|
2750
|
+
gridIndexes: "all"
|
2751
|
+
},
|
2752
|
+
MultiDots: {
|
2753
|
+
gridIndexes: "all"
|
2754
|
+
},
|
2755
|
+
MultiGridLegend: {
|
2756
|
+
placement: "bottom",
|
2757
|
+
padding: 7,
|
2758
|
+
gridList: [
|
2759
|
+
{
|
2760
|
+
listRectHeight: 2
|
2761
|
+
},
|
2762
|
+
{
|
2763
|
+
listRectHeight: 2
|
2764
|
+
},
|
2765
|
+
{
|
2766
|
+
listRectHeight: 2
|
2767
|
+
},
|
2768
|
+
{
|
2769
|
+
listRectHeight: 2
|
2770
|
+
},
|
2771
|
+
{
|
2772
|
+
listRectHeight: 2
|
2773
|
+
},
|
2774
|
+
{
|
2775
|
+
listRectHeight: 2
|
2776
|
+
},
|
2777
|
+
{
|
2778
|
+
listRectHeight: 2
|
2779
|
+
},
|
2780
|
+
{
|
2781
|
+
listRectHeight: 2
|
2782
|
+
}
|
2783
|
+
]
|
2784
|
+
}
|
2785
|
+
}
|
2786
|
+
}, ot = {
|
1246
2787
|
name: "PRESET_MULTI_LINES_SEPARATE_GRID",
|
1247
|
-
description: "
|
2788
|
+
description: "Multiple groups of Line chart",
|
2789
|
+
descriptionZh: "多組分開折線圖表",
|
1248
2790
|
chartParams: {
|
2791
|
+
colors: {
|
2792
|
+
light: {
|
2793
|
+
label: [
|
2794
|
+
"#4BABFF",
|
2795
|
+
"#94D6CB",
|
2796
|
+
"#F9B052",
|
2797
|
+
"#8454D4",
|
2798
|
+
"#D58C75",
|
2799
|
+
"#42C724",
|
2800
|
+
"#FF8B8B",
|
2801
|
+
"#904026",
|
2802
|
+
"#C50669",
|
2803
|
+
"#4B25B3"
|
2804
|
+
]
|
2805
|
+
}
|
2806
|
+
},
|
1249
2807
|
padding: {
|
1250
|
-
top:
|
1251
|
-
right:
|
1252
|
-
bottom:
|
1253
|
-
left:
|
2808
|
+
top: 40,
|
2809
|
+
right: 40,
|
2810
|
+
bottom: 140,
|
2811
|
+
left: 80
|
1254
2812
|
}
|
1255
2813
|
},
|
1256
2814
|
dataFormatter: {
|
1257
2815
|
separateGrid: !0
|
1258
2816
|
},
|
1259
|
-
|
1260
|
-
...a,
|
2817
|
+
pluginParams: {
|
1261
2818
|
MultiGroupAxis: {
|
1262
2819
|
tickTextRotate: -30,
|
1263
2820
|
gridIndexes: "all"
|
@@ -1271,179 +2828,881 @@ const u = {
|
|
1271
2828
|
MultiBars: {
|
1272
2829
|
gridIndexes: "all"
|
1273
2830
|
},
|
1274
|
-
|
2831
|
+
MultiStackedBars: {
|
1275
2832
|
gridIndexes: "all"
|
1276
2833
|
},
|
1277
2834
|
MultiBarsTriangle: {
|
1278
2835
|
gridIndexes: "all"
|
1279
2836
|
},
|
1280
|
-
MultiLines: {
|
1281
|
-
gridIndexes: "all"
|
2837
|
+
MultiLines: {
|
2838
|
+
gridIndexes: "all"
|
2839
|
+
},
|
2840
|
+
MultiLineAreas: {
|
2841
|
+
gridIndexes: "all"
|
2842
|
+
},
|
2843
|
+
MultiDots: {
|
2844
|
+
gridIndexes: "all"
|
2845
|
+
},
|
2846
|
+
MultiGridLegend: {
|
2847
|
+
// position: 'bottom',
|
2848
|
+
// justify: 'center',
|
2849
|
+
placement: "bottom",
|
2850
|
+
padding: 14,
|
2851
|
+
gridList: [
|
2852
|
+
{
|
2853
|
+
listRectHeight: 2
|
2854
|
+
},
|
2855
|
+
{
|
2856
|
+
listRectHeight: 2
|
2857
|
+
},
|
2858
|
+
{
|
2859
|
+
listRectHeight: 2
|
2860
|
+
},
|
2861
|
+
{
|
2862
|
+
listRectHeight: 2
|
2863
|
+
},
|
2864
|
+
{
|
2865
|
+
listRectHeight: 2
|
2866
|
+
},
|
2867
|
+
{
|
2868
|
+
listRectHeight: 2
|
2869
|
+
},
|
2870
|
+
{
|
2871
|
+
listRectHeight: 2
|
2872
|
+
},
|
2873
|
+
{
|
2874
|
+
listRectHeight: 2
|
2875
|
+
}
|
2876
|
+
]
|
2877
|
+
}
|
2878
|
+
}
|
2879
|
+
}, lt = {
|
2880
|
+
name: "PRESET_MULTI_VALUE_BASIC",
|
2881
|
+
description: "Basic MultiValue",
|
2882
|
+
descriptionZh: "基本MultiValue參數",
|
2883
|
+
chartParams: {
|
2884
|
+
colors: {
|
2885
|
+
light: {
|
2886
|
+
label: [
|
2887
|
+
"#7DD3C4",
|
2888
|
+
"#FFA0A0",
|
2889
|
+
"#6CBAFF",
|
2890
|
+
"#55D339",
|
2891
|
+
"#F9B052",
|
2892
|
+
"#FF6C6C",
|
2893
|
+
"#8E6BC9",
|
2894
|
+
"#0088FF",
|
2895
|
+
"#904026",
|
2896
|
+
"#C4C4C4"
|
2897
|
+
]
|
2898
|
+
}
|
2899
|
+
},
|
2900
|
+
padding: {
|
2901
|
+
top: 40,
|
2902
|
+
right: 40,
|
2903
|
+
bottom: 100,
|
2904
|
+
left: 80
|
2905
|
+
}
|
2906
|
+
},
|
2907
|
+
pluginParams: {
|
2908
|
+
MultiValueLegend: {
|
2909
|
+
placement: "bottom",
|
2910
|
+
padding: 14
|
2911
|
+
}
|
2912
|
+
}
|
2913
|
+
}, nt = {
|
2914
|
+
name: "PRESET_MULTI_VALUE_SEPARATE_CATEGORY",
|
2915
|
+
description: "MultiValue separate category",
|
2916
|
+
descriptionZh: "MultiValue 分開顯示category",
|
2917
|
+
chartParams: {
|
2918
|
+
colors: {
|
2919
|
+
light: {
|
2920
|
+
label: [
|
2921
|
+
"#7DD3C4",
|
2922
|
+
"#FFA0A0",
|
2923
|
+
"#6CBAFF",
|
2924
|
+
"#55D339",
|
2925
|
+
"#F9B052",
|
2926
|
+
"#FF6C6C",
|
2927
|
+
"#8E6BC9",
|
2928
|
+
"#0088FF",
|
2929
|
+
"#904026",
|
2930
|
+
"#C4C4C4"
|
2931
|
+
]
|
2932
|
+
}
|
2933
|
+
},
|
2934
|
+
padding: {
|
2935
|
+
top: 40,
|
2936
|
+
right: 40,
|
2937
|
+
bottom: 100,
|
2938
|
+
left: 80
|
2939
|
+
}
|
2940
|
+
},
|
2941
|
+
dataFormatter: {
|
2942
|
+
separateCategory: !0
|
2943
|
+
},
|
2944
|
+
pluginParams: {
|
2945
|
+
XYAxes: {
|
2946
|
+
xAxis: {
|
2947
|
+
ticks: 3
|
2948
|
+
},
|
2949
|
+
yAxis: {
|
2950
|
+
ticks: 3
|
2951
|
+
}
|
2952
|
+
},
|
2953
|
+
MultiValueLegend: {
|
2954
|
+
placement: "bottom",
|
2955
|
+
padding: 14
|
2956
|
+
}
|
2957
|
+
}
|
2958
|
+
}, dt = {
|
2959
|
+
name: "PRESET_MULTI_VALUE_SIMPLE",
|
2960
|
+
description: "Simple MultiValue",
|
2961
|
+
descriptionZh: "簡單MultiValue參數",
|
2962
|
+
chartParams: {
|
2963
|
+
colors: {
|
2964
|
+
light: {
|
2965
|
+
label: [
|
2966
|
+
"#7DD3C4",
|
2967
|
+
"#FFA0A0",
|
2968
|
+
"#6CBAFF",
|
2969
|
+
"#55D339",
|
2970
|
+
"#F9B052",
|
2971
|
+
"#FF6C6C",
|
2972
|
+
"#8E6BC9",
|
2973
|
+
"#0088FF",
|
2974
|
+
"#904026",
|
2975
|
+
"#C4C4C4"
|
2976
|
+
]
|
2977
|
+
}
|
2978
|
+
},
|
2979
|
+
padding: {
|
2980
|
+
top: 40,
|
2981
|
+
right: 40,
|
2982
|
+
bottom: 60,
|
2983
|
+
left: 80
|
2984
|
+
}
|
2985
|
+
},
|
2986
|
+
pluginParams: {
|
2987
|
+
MultiValueLegend: {
|
2988
|
+
placement: "bottom",
|
2989
|
+
padding: 7
|
2990
|
+
}
|
2991
|
+
}
|
2992
|
+
}, Et = {
|
2993
|
+
name: "PRESET_RACING_BARS_ALL_ITEMS",
|
2994
|
+
description: "Racing Bars for all items",
|
2995
|
+
descriptionZh: "顯示全部項目的賽跑長條圖",
|
2996
|
+
chartParams: {
|
2997
|
+
colors: {
|
2998
|
+
light: {
|
2999
|
+
label: [
|
3000
|
+
"#4BABFF",
|
3001
|
+
"#FFA0A0",
|
3002
|
+
"#7DD3C4",
|
3003
|
+
"#F9B052",
|
3004
|
+
"#8454D4",
|
3005
|
+
"#42C724",
|
3006
|
+
"#FF4B4B",
|
3007
|
+
"#904026",
|
3008
|
+
"#4B25B3",
|
3009
|
+
"#C50669"
|
3010
|
+
]
|
3011
|
+
}
|
3012
|
+
},
|
3013
|
+
padding: {
|
3014
|
+
top: 60,
|
3015
|
+
right: 60,
|
3016
|
+
bottom: 100,
|
3017
|
+
left: 60
|
3018
|
+
},
|
3019
|
+
transitionDuration: 500
|
3020
|
+
},
|
3021
|
+
pluginParams: {
|
3022
|
+
RacingBars: {
|
3023
|
+
rankingAmount: "auto",
|
3024
|
+
autorun: !0
|
3025
|
+
},
|
3026
|
+
MultiValueLegend: {
|
3027
|
+
placement: "bottom",
|
3028
|
+
padding: 14
|
3029
|
+
}
|
3030
|
+
}
|
3031
|
+
}, Ft = {
|
3032
|
+
name: "PRESET_RACING_BARS_BASIC",
|
3033
|
+
description: "Basic Racing Bars",
|
3034
|
+
descriptionZh: "基本賽跑長條圖",
|
3035
|
+
chartParams: {
|
3036
|
+
colors: {
|
3037
|
+
light: {
|
3038
|
+
label: [
|
3039
|
+
"#4BABFF",
|
3040
|
+
"#FFA0A0",
|
3041
|
+
"#7DD3C4",
|
3042
|
+
"#F9B052",
|
3043
|
+
"#8454D4",
|
3044
|
+
"#42C724",
|
3045
|
+
"#FF4B4B",
|
3046
|
+
"#904026",
|
3047
|
+
"#4B25B3",
|
3048
|
+
"#C50669"
|
3049
|
+
]
|
3050
|
+
}
|
3051
|
+
},
|
3052
|
+
padding: {
|
3053
|
+
top: 60,
|
3054
|
+
right: 60,
|
3055
|
+
bottom: 100,
|
3056
|
+
left: 60
|
3057
|
+
},
|
3058
|
+
transitionDuration: 500
|
3059
|
+
},
|
3060
|
+
pluginParams: {
|
3061
|
+
RacingBars: {
|
3062
|
+
autorun: !0
|
3063
|
+
},
|
3064
|
+
MultiValueLegend: {
|
3065
|
+
placement: "bottom",
|
3066
|
+
padding: 14
|
3067
|
+
}
|
3068
|
+
}
|
3069
|
+
}, ct = {
|
3070
|
+
name: "PRESET_RACING_BARS_FAST",
|
3071
|
+
description: "Fast Racing Bars",
|
3072
|
+
descriptionZh: "快速的賽跑長條圖",
|
3073
|
+
chartParams: {
|
3074
|
+
colors: {
|
3075
|
+
light: {
|
3076
|
+
label: [
|
3077
|
+
"#4BABFF",
|
3078
|
+
"#FFA0A0",
|
3079
|
+
"#7DD3C4",
|
3080
|
+
"#F9B052",
|
3081
|
+
"#8454D4",
|
3082
|
+
"#42C724",
|
3083
|
+
"#FF4B4B",
|
3084
|
+
"#904026",
|
3085
|
+
"#4B25B3",
|
3086
|
+
"#C50669"
|
3087
|
+
]
|
3088
|
+
}
|
3089
|
+
},
|
3090
|
+
padding: {
|
3091
|
+
top: 60,
|
3092
|
+
right: 60,
|
3093
|
+
bottom: 100,
|
3094
|
+
left: 60
|
3095
|
+
},
|
3096
|
+
transitionDuration: 250
|
3097
|
+
},
|
3098
|
+
pluginParams: {
|
3099
|
+
RacingBars: {
|
3100
|
+
autorun: !0
|
3101
|
+
},
|
3102
|
+
MultiValueLegend: {
|
3103
|
+
placement: "bottom",
|
3104
|
+
padding: 14
|
3105
|
+
}
|
3106
|
+
}
|
3107
|
+
}, gt = {
|
3108
|
+
name: "PRESET_RACING_BARS_FASTER",
|
3109
|
+
description: "Faster Racing Bars",
|
3110
|
+
descriptionZh: "更快速的賽跑長條圖",
|
3111
|
+
chartParams: {
|
3112
|
+
colors: {
|
3113
|
+
light: {
|
3114
|
+
label: [
|
3115
|
+
"#4BABFF",
|
3116
|
+
"#FFA0A0",
|
3117
|
+
"#7DD3C4",
|
3118
|
+
"#F9B052",
|
3119
|
+
"#8454D4",
|
3120
|
+
"#42C724",
|
3121
|
+
"#FF4B4B",
|
3122
|
+
"#904026",
|
3123
|
+
"#4B25B3",
|
3124
|
+
"#C50669"
|
3125
|
+
]
|
3126
|
+
}
|
3127
|
+
},
|
3128
|
+
padding: {
|
3129
|
+
top: 60,
|
3130
|
+
right: 60,
|
3131
|
+
bottom: 100,
|
3132
|
+
left: 60
|
3133
|
+
},
|
3134
|
+
transitionDuration: 125
|
3135
|
+
},
|
3136
|
+
pluginParams: {
|
3137
|
+
RacingBars: {
|
3138
|
+
autorun: !0
|
3139
|
+
},
|
3140
|
+
MultiValueLegend: {
|
3141
|
+
placement: "bottom",
|
3142
|
+
padding: 14
|
3143
|
+
}
|
3144
|
+
}
|
3145
|
+
}, Bt = {
|
3146
|
+
name: "PRESET_RACING_BARS_OUTSIDE_LABELS",
|
3147
|
+
description: "Racing Bars with labels outside",
|
3148
|
+
descriptionZh: "標籤在外面的賽跑長條圖",
|
3149
|
+
chartParams: {
|
3150
|
+
colors: {
|
3151
|
+
light: {
|
3152
|
+
label: [
|
3153
|
+
"#4BABFF",
|
3154
|
+
"#FFA0A0",
|
3155
|
+
"#7DD3C4",
|
3156
|
+
"#F9B052",
|
3157
|
+
"#8454D4",
|
3158
|
+
"#42C724",
|
3159
|
+
"#FF4B4B",
|
3160
|
+
"#904026",
|
3161
|
+
"#4B25B3",
|
3162
|
+
"#C50669"
|
3163
|
+
]
|
3164
|
+
}
|
3165
|
+
},
|
3166
|
+
padding: {
|
3167
|
+
top: 60,
|
3168
|
+
right: 60,
|
3169
|
+
bottom: 100,
|
3170
|
+
left: 160
|
3171
|
+
},
|
3172
|
+
transitionDuration: 500
|
3173
|
+
},
|
3174
|
+
pluginParams: {
|
3175
|
+
RacingBars: {
|
3176
|
+
barLabel: {
|
3177
|
+
position: "outside",
|
3178
|
+
colorType: "primary"
|
3179
|
+
},
|
3180
|
+
autorun: !0
|
3181
|
+
},
|
3182
|
+
MultiValueLegend: {
|
3183
|
+
placement: "bottom",
|
3184
|
+
padding: 14
|
3185
|
+
}
|
3186
|
+
}
|
3187
|
+
}, pt = {
|
3188
|
+
name: "PRESET_RACING_BARS_SEPARATE_CATEGORY",
|
3189
|
+
description: "Racing Bars with separate category",
|
3190
|
+
descriptionZh: "分開顯示category的賽跑長條圖",
|
3191
|
+
chartParams: {
|
3192
|
+
colors: {
|
3193
|
+
light: {
|
3194
|
+
label: [
|
3195
|
+
"#4BABFF",
|
3196
|
+
"#FFA0A0",
|
3197
|
+
"#7DD3C4",
|
3198
|
+
"#F9B052",
|
3199
|
+
"#8454D4",
|
3200
|
+
"#42C724",
|
3201
|
+
"#FF4B4B",
|
3202
|
+
"#904026",
|
3203
|
+
"#4B25B3",
|
3204
|
+
"#C50669"
|
3205
|
+
]
|
3206
|
+
}
|
3207
|
+
},
|
3208
|
+
padding: {
|
3209
|
+
top: 40,
|
3210
|
+
right: 40,
|
3211
|
+
bottom: 60,
|
3212
|
+
left: 140
|
3213
|
+
},
|
3214
|
+
transitionDuration: 500
|
3215
|
+
},
|
3216
|
+
dataFormatter: {
|
3217
|
+
separateCategory: !0,
|
3218
|
+
container: {
|
3219
|
+
gap: 80
|
3220
|
+
}
|
3221
|
+
},
|
3222
|
+
pluginParams: {
|
3223
|
+
RacingBars: {
|
3224
|
+
barLabel: {
|
3225
|
+
position: "outside",
|
3226
|
+
colorType: "primary",
|
3227
|
+
padding: 10
|
3228
|
+
},
|
3229
|
+
valueLabel: {
|
3230
|
+
padding: 10
|
3231
|
+
},
|
3232
|
+
autorun: !0
|
3233
|
+
},
|
3234
|
+
RacingValueAxis: {
|
3235
|
+
ticks: 3
|
3236
|
+
},
|
3237
|
+
MultiValueLegend: {
|
3238
|
+
placement: "bottom",
|
3239
|
+
padding: 14
|
3240
|
+
}
|
3241
|
+
}
|
3242
|
+
}, At = {
|
3243
|
+
name: "PRESET_RACING_BARS_SIMPLE",
|
3244
|
+
description: "Simple Racing Bars",
|
3245
|
+
descriptionZh: "簡單賽跑長條圖",
|
3246
|
+
chartParams: {
|
3247
|
+
colors: {
|
3248
|
+
light: {
|
3249
|
+
label: [
|
3250
|
+
"#4BABFF",
|
3251
|
+
"#FFA0A0",
|
3252
|
+
"#7DD3C4",
|
3253
|
+
"#F9B052",
|
3254
|
+
"#8454D4",
|
3255
|
+
"#42C724",
|
3256
|
+
"#FF4B4B",
|
3257
|
+
"#904026",
|
3258
|
+
"#4B25B3",
|
3259
|
+
"#C50669"
|
3260
|
+
]
|
3261
|
+
}
|
1282
3262
|
},
|
1283
|
-
|
1284
|
-
|
3263
|
+
padding: {
|
3264
|
+
top: 60,
|
3265
|
+
right: 40,
|
3266
|
+
bottom: 40,
|
3267
|
+
left: 40
|
1285
3268
|
},
|
1286
|
-
|
1287
|
-
|
3269
|
+
transitionDuration: 500
|
3270
|
+
},
|
3271
|
+
pluginParams: {
|
3272
|
+
RacingBars: {
|
3273
|
+
autorun: !0
|
1288
3274
|
},
|
1289
|
-
|
1290
|
-
// position: 'bottom',
|
1291
|
-
// justify: 'center',
|
3275
|
+
MultiValueLegend: {
|
1292
3276
|
placement: "bottom",
|
1293
|
-
padding:
|
1294
|
-
gridList: [
|
1295
|
-
{
|
1296
|
-
listRectHeight: 2
|
1297
|
-
},
|
1298
|
-
{
|
1299
|
-
listRectHeight: 2
|
1300
|
-
},
|
1301
|
-
{
|
1302
|
-
listRectHeight: 2
|
1303
|
-
},
|
1304
|
-
{
|
1305
|
-
listRectHeight: 2
|
1306
|
-
},
|
1307
|
-
{
|
1308
|
-
listRectHeight: 2
|
1309
|
-
},
|
1310
|
-
{
|
1311
|
-
listRectHeight: 2
|
1312
|
-
},
|
1313
|
-
{
|
1314
|
-
listRectHeight: 2
|
1315
|
-
},
|
1316
|
-
{
|
1317
|
-
listRectHeight: 2
|
1318
|
-
}
|
1319
|
-
]
|
3277
|
+
padding: 7
|
1320
3278
|
}
|
1321
3279
|
}
|
1322
|
-
},
|
1323
|
-
name: "
|
1324
|
-
description: "
|
3280
|
+
}, St = {
|
3281
|
+
name: "PRESET_RACING_BARS_STOP",
|
3282
|
+
description: "Stopped Racing Bars",
|
3283
|
+
descriptionZh: "停止的賽跑長條圖",
|
1325
3284
|
chartParams: {
|
3285
|
+
colors: {
|
3286
|
+
light: {
|
3287
|
+
label: [
|
3288
|
+
"#4BABFF",
|
3289
|
+
"#FFA0A0",
|
3290
|
+
"#7DD3C4",
|
3291
|
+
"#F9B052",
|
3292
|
+
"#8454D4",
|
3293
|
+
"#42C724",
|
3294
|
+
"#FF4B4B",
|
3295
|
+
"#904026",
|
3296
|
+
"#4B25B3",
|
3297
|
+
"#C50669"
|
3298
|
+
]
|
3299
|
+
}
|
3300
|
+
},
|
1326
3301
|
padding: {
|
1327
3302
|
top: 60,
|
1328
3303
|
right: 60,
|
1329
|
-
bottom:
|
3304
|
+
bottom: 100,
|
1330
3305
|
left: 60
|
1331
3306
|
}
|
1332
3307
|
},
|
1333
|
-
|
3308
|
+
pluginParams: {
|
3309
|
+
RacingBars: {
|
3310
|
+
autorun: !1
|
3311
|
+
},
|
1334
3312
|
MultiValueLegend: {
|
1335
3313
|
placement: "bottom",
|
1336
3314
|
padding: 14
|
1337
3315
|
}
|
1338
3316
|
}
|
1339
|
-
},
|
1340
|
-
name: "
|
1341
|
-
description: "
|
3317
|
+
}, Rt = {
|
3318
|
+
name: "PRESET_SCATTER_BASIC",
|
3319
|
+
description: "Basic Scatter",
|
3320
|
+
descriptionZh: "基本散布圖",
|
1342
3321
|
chartParams: {
|
3322
|
+
colors: {
|
3323
|
+
light: {
|
3324
|
+
label: [
|
3325
|
+
"#16B59B",
|
3326
|
+
"#0088FF",
|
3327
|
+
"#FF3232",
|
3328
|
+
"#8E6BC9",
|
3329
|
+
"#904026",
|
3330
|
+
"#D117EA",
|
3331
|
+
"#F38428",
|
3332
|
+
"#6BDC51",
|
3333
|
+
"#C50669",
|
3334
|
+
"#4B25B3"
|
3335
|
+
]
|
3336
|
+
}
|
3337
|
+
},
|
1343
3338
|
padding: {
|
1344
|
-
top:
|
1345
|
-
right:
|
1346
|
-
bottom:
|
1347
|
-
left:
|
3339
|
+
top: 40,
|
3340
|
+
right: 40,
|
3341
|
+
bottom: 100,
|
3342
|
+
left: 80
|
1348
3343
|
}
|
1349
3344
|
},
|
1350
|
-
|
1351
|
-
|
3345
|
+
pluginParams: {
|
3346
|
+
MultiValueLegend: {
|
3347
|
+
placement: "bottom",
|
3348
|
+
padding: 14,
|
3349
|
+
listRectRadius: 7
|
3350
|
+
// 圓型圖例列點
|
3351
|
+
}
|
3352
|
+
}
|
3353
|
+
}, ut = {
|
3354
|
+
name: "PRESET_SCATTER_BUBBLES_BASIC",
|
3355
|
+
description: "Basic Scatter Bubbles",
|
3356
|
+
descriptionZh: "基本的散布泡泡圖",
|
3357
|
+
chartParams: {
|
3358
|
+
colors: {
|
3359
|
+
light: {
|
3360
|
+
label: [
|
3361
|
+
"#6CBAFF",
|
3362
|
+
"#FF6C6C",
|
3363
|
+
"#F9B052",
|
3364
|
+
"#7DD3C4",
|
3365
|
+
"#AA93D2",
|
3366
|
+
"#0088FF",
|
3367
|
+
"#FFBABA",
|
3368
|
+
"#86DC72",
|
3369
|
+
"#EF76FF",
|
3370
|
+
"#C4C4C4"
|
3371
|
+
]
|
3372
|
+
}
|
3373
|
+
},
|
3374
|
+
padding: {
|
3375
|
+
top: 40,
|
3376
|
+
right: 40,
|
3377
|
+
bottom: 100,
|
3378
|
+
left: 80
|
3379
|
+
}
|
1352
3380
|
},
|
1353
|
-
|
3381
|
+
pluginParams: {
|
1354
3382
|
MultiValueLegend: {
|
1355
3383
|
placement: "bottom",
|
1356
|
-
padding: 14
|
3384
|
+
padding: 14,
|
3385
|
+
listRectRadius: 7
|
3386
|
+
// 圓型圖例列點
|
1357
3387
|
}
|
1358
3388
|
}
|
1359
|
-
},
|
3389
|
+
}, _t = {
|
1360
3390
|
name: "PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS",
|
1361
|
-
description: "
|
3391
|
+
description: "Scatter Bubbles with Radius Scaling",
|
3392
|
+
descriptionZh: "以半徑尺寸為比例的散布泡泡圖",
|
1362
3393
|
chartParams: {
|
3394
|
+
colors: {
|
3395
|
+
light: {
|
3396
|
+
label: [
|
3397
|
+
"#6CBAFF",
|
3398
|
+
"#FF6C6C",
|
3399
|
+
"#F9B052",
|
3400
|
+
"#7DD3C4",
|
3401
|
+
"#AA93D2",
|
3402
|
+
"#0088FF",
|
3403
|
+
"#FFBABA",
|
3404
|
+
"#86DC72",
|
3405
|
+
"#EF76FF",
|
3406
|
+
"#C4C4C4"
|
3407
|
+
]
|
3408
|
+
}
|
3409
|
+
},
|
1363
3410
|
padding: {
|
1364
|
-
top:
|
1365
|
-
right:
|
1366
|
-
bottom:
|
1367
|
-
left:
|
3411
|
+
top: 40,
|
3412
|
+
right: 40,
|
3413
|
+
bottom: 100,
|
3414
|
+
left: 80
|
1368
3415
|
}
|
1369
3416
|
},
|
1370
|
-
|
3417
|
+
pluginParams: {
|
1371
3418
|
MultiValueLegend: {
|
1372
3419
|
placement: "bottom",
|
1373
|
-
padding: 14
|
3420
|
+
padding: 14,
|
3421
|
+
listRectRadius: 7
|
3422
|
+
// 圓型圖例列點
|
1374
3423
|
},
|
1375
3424
|
ScatterBubbles: {
|
1376
3425
|
arcScaleType: "radius"
|
1377
3426
|
}
|
1378
3427
|
}
|
1379
|
-
},
|
3428
|
+
}, Ct = {
|
1380
3429
|
name: "PRESET_SCATTER_BUBBLES_LINEAR_OPACITY",
|
1381
|
-
description: "
|
3430
|
+
description: "Scatter Bubbles with Linear Opacity",
|
3431
|
+
descriptionZh: "漸變透明度的散布泡泡圖",
|
1382
3432
|
chartParams: {
|
3433
|
+
colors: {
|
3434
|
+
light: {
|
3435
|
+
label: [
|
3436
|
+
"#6CBAFF",
|
3437
|
+
"#FF6C6C",
|
3438
|
+
"#F9B052",
|
3439
|
+
"#7DD3C4",
|
3440
|
+
"#AA93D2",
|
3441
|
+
"#0088FF",
|
3442
|
+
"#FFBABA",
|
3443
|
+
"#86DC72",
|
3444
|
+
"#EF76FF",
|
3445
|
+
"#C4C4C4"
|
3446
|
+
]
|
3447
|
+
}
|
3448
|
+
},
|
1383
3449
|
padding: {
|
1384
|
-
top:
|
1385
|
-
right:
|
1386
|
-
bottom:
|
1387
|
-
left:
|
3450
|
+
top: 40,
|
3451
|
+
right: 40,
|
3452
|
+
bottom: 100,
|
3453
|
+
left: 80
|
1388
3454
|
}
|
1389
3455
|
},
|
1390
|
-
|
3456
|
+
pluginParams: {
|
1391
3457
|
MultiValueLegend: {
|
1392
3458
|
placement: "bottom",
|
1393
|
-
padding: 14
|
3459
|
+
padding: 14,
|
3460
|
+
listRectRadius: 7
|
3461
|
+
// 圓型圖例列點
|
1394
3462
|
},
|
1395
3463
|
ScatterBubbles: {
|
1396
3464
|
valueLinearOpacity: [0.6, 0.95]
|
1397
3465
|
}
|
1398
3466
|
}
|
1399
|
-
},
|
3467
|
+
}, mt = {
|
3468
|
+
name: "PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY",
|
3469
|
+
description: "Scatter Bubbles with Separate Category",
|
3470
|
+
descriptionZh: "分開顯示category的散布泡泡圖",
|
3471
|
+
chartParams: {
|
3472
|
+
colors: {
|
3473
|
+
light: {
|
3474
|
+
label: [
|
3475
|
+
"#6CBAFF",
|
3476
|
+
"#FF6C6C",
|
3477
|
+
"#F9B052",
|
3478
|
+
"#7DD3C4",
|
3479
|
+
"#AA93D2",
|
3480
|
+
"#0088FF",
|
3481
|
+
"#FFBABA",
|
3482
|
+
"#86DC72",
|
3483
|
+
"#EF76FF",
|
3484
|
+
"#C4C4C4"
|
3485
|
+
]
|
3486
|
+
}
|
3487
|
+
},
|
3488
|
+
padding: {
|
3489
|
+
top: 40,
|
3490
|
+
right: 40,
|
3491
|
+
bottom: 100,
|
3492
|
+
left: 80
|
3493
|
+
}
|
3494
|
+
},
|
3495
|
+
dataFormatter: {
|
3496
|
+
separateCategory: !0
|
3497
|
+
},
|
3498
|
+
pluginParams: {
|
3499
|
+
MultiValueLegend: {
|
3500
|
+
placement: "bottom",
|
3501
|
+
padding: 14,
|
3502
|
+
listRectRadius: 7
|
3503
|
+
// 圓型圖例列點
|
3504
|
+
}
|
3505
|
+
}
|
3506
|
+
}, ht = {
|
3507
|
+
name: "PRESET_SCATTER_BUBBLES_SIMPLE",
|
3508
|
+
description: "Simple Scatter Bubbles",
|
3509
|
+
descriptionZh: "簡單的散布泡泡圖",
|
3510
|
+
chartParams: {
|
3511
|
+
colors: {
|
3512
|
+
light: {
|
3513
|
+
label: [
|
3514
|
+
"#6CBAFF",
|
3515
|
+
"#FF6C6C",
|
3516
|
+
"#F9B052",
|
3517
|
+
"#7DD3C4",
|
3518
|
+
"#AA93D2",
|
3519
|
+
"#0088FF",
|
3520
|
+
"#FFBABA",
|
3521
|
+
"#86DC72",
|
3522
|
+
"#EF76FF",
|
3523
|
+
"#C4C4C4"
|
3524
|
+
]
|
3525
|
+
}
|
3526
|
+
},
|
3527
|
+
padding: {
|
3528
|
+
top: 40,
|
3529
|
+
right: 40,
|
3530
|
+
bottom: 60,
|
3531
|
+
left: 80
|
3532
|
+
}
|
3533
|
+
},
|
3534
|
+
pluginParams: {
|
3535
|
+
MultiValueLegend: {
|
3536
|
+
placement: "bottom",
|
3537
|
+
padding: 7,
|
3538
|
+
listRectRadius: 7
|
3539
|
+
// 圓型圖例列點
|
3540
|
+
}
|
3541
|
+
}
|
3542
|
+
}, Pt = {
|
3543
|
+
name: "PRESET_SCATTER_SEPARATE_CATEGORY",
|
3544
|
+
description: "Scatter with Separate Category",
|
3545
|
+
descriptionZh: "分開顯示category的散布圖",
|
3546
|
+
chartParams: {
|
3547
|
+
colors: {
|
3548
|
+
light: {
|
3549
|
+
label: [
|
3550
|
+
"#16B59B",
|
3551
|
+
"#0088FF",
|
3552
|
+
"#FF3232",
|
3553
|
+
"#8E6BC9",
|
3554
|
+
"#904026",
|
3555
|
+
"#D117EA",
|
3556
|
+
"#F38428",
|
3557
|
+
"#6BDC51",
|
3558
|
+
"#C50669",
|
3559
|
+
"#4B25B3"
|
3560
|
+
]
|
3561
|
+
}
|
3562
|
+
},
|
3563
|
+
padding: {
|
3564
|
+
top: 40,
|
3565
|
+
right: 40,
|
3566
|
+
bottom: 100,
|
3567
|
+
left: 80
|
3568
|
+
}
|
3569
|
+
},
|
3570
|
+
dataFormatter: {
|
3571
|
+
separateCategory: !0
|
3572
|
+
},
|
3573
|
+
pluginParams: {
|
3574
|
+
XYAxes: {
|
3575
|
+
xAxis: {
|
3576
|
+
ticks: 3
|
3577
|
+
},
|
3578
|
+
yAxis: {
|
3579
|
+
ticks: 3
|
3580
|
+
}
|
3581
|
+
},
|
3582
|
+
MultiValueLegend: {
|
3583
|
+
placement: "bottom",
|
3584
|
+
padding: 14,
|
3585
|
+
listRectRadius: 7
|
3586
|
+
// 圓型圖例列點
|
3587
|
+
}
|
3588
|
+
}
|
3589
|
+
}, Dt = {
|
3590
|
+
name: "PRESET_SCATTER_SIMPLE",
|
3591
|
+
description: "Simple Scatter",
|
3592
|
+
descriptionZh: "簡單散布圖",
|
3593
|
+
chartParams: {
|
3594
|
+
colors: {
|
3595
|
+
light: {
|
3596
|
+
label: [
|
3597
|
+
"#16B59B",
|
3598
|
+
"#0088FF",
|
3599
|
+
"#FF3232",
|
3600
|
+
"#8E6BC9",
|
3601
|
+
"#904026",
|
3602
|
+
"#D117EA",
|
3603
|
+
"#F38428",
|
3604
|
+
"#6BDC51",
|
3605
|
+
"#C50669",
|
3606
|
+
"#4B25B3"
|
3607
|
+
]
|
3608
|
+
}
|
3609
|
+
},
|
3610
|
+
padding: {
|
3611
|
+
top: 40,
|
3612
|
+
right: 40,
|
3613
|
+
bottom: 60,
|
3614
|
+
left: 80
|
3615
|
+
}
|
3616
|
+
},
|
3617
|
+
pluginParams: {
|
3618
|
+
MultiValueLegend: {
|
3619
|
+
placement: "bottom",
|
3620
|
+
padding: 7,
|
3621
|
+
listRectRadius: 7
|
3622
|
+
// 圓型圖例列點
|
3623
|
+
}
|
3624
|
+
}
|
3625
|
+
}, Tt = {
|
1400
3626
|
name: "PRESET_FORCE_DIRECTED_BASIC",
|
1401
|
-
description: "
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1406
|
-
|
1407
|
-
|
1408
|
-
|
1409
|
-
|
1410
|
-
|
3627
|
+
description: "Basic Force Directed Chart",
|
3628
|
+
descriptionZh: "基本力導向圖",
|
3629
|
+
chartParams: {
|
3630
|
+
colors: {
|
3631
|
+
light: {
|
3632
|
+
label: [
|
3633
|
+
"#4BABFF",
|
3634
|
+
"#FFA0A0",
|
3635
|
+
"#7DD3C4",
|
3636
|
+
"#F9B052",
|
3637
|
+
"#8454D4",
|
3638
|
+
"#42C724",
|
3639
|
+
"#FF4B4B",
|
3640
|
+
"#904026",
|
3641
|
+
"#4B25B3",
|
3642
|
+
"#C50669"
|
3643
|
+
]
|
3644
|
+
}
|
3645
|
+
}
|
3646
|
+
},
|
3647
|
+
pluginParams: {
|
1411
3648
|
ForceDirected: {},
|
1412
3649
|
RelationshipLegend: {
|
1413
3650
|
listRectRadius: 7
|
1414
3651
|
// 圓型圖例列點
|
1415
3652
|
}
|
1416
3653
|
}
|
1417
|
-
},
|
3654
|
+
}, It = {
|
1418
3655
|
name: "PRESET_FORCE_DIRECTED_BUBBLES_BASIC",
|
1419
|
-
description: "
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1423
|
-
|
1424
|
-
|
1425
|
-
|
1426
|
-
|
1427
|
-
|
1428
|
-
|
3656
|
+
description: "Basic Force Directed Bubbles Chart",
|
3657
|
+
descriptionZh: "基本力導向泡泡圖",
|
3658
|
+
chartParams: {
|
3659
|
+
colors: {
|
3660
|
+
light: {
|
3661
|
+
label: [
|
3662
|
+
"#6CBAFF",
|
3663
|
+
"#FF6C6C",
|
3664
|
+
"#F9B052",
|
3665
|
+
"#7DD3C4",
|
3666
|
+
"#AA93D2",
|
3667
|
+
"#0088FF",
|
3668
|
+
"#FFBABA",
|
3669
|
+
"#86DC72",
|
3670
|
+
"#EF76FF",
|
3671
|
+
"#C4C4C4"
|
3672
|
+
]
|
3673
|
+
}
|
3674
|
+
}
|
3675
|
+
},
|
3676
|
+
pluginParams: {
|
1429
3677
|
ForceDirectedBubbles: {},
|
1430
3678
|
RelationshipLegend: {
|
1431
3679
|
listRectRadius: 7
|
1432
3680
|
// 圓型圖例列點
|
1433
3681
|
}
|
1434
3682
|
}
|
1435
|
-
},
|
3683
|
+
}, Lt = {
|
1436
3684
|
name: "PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH",
|
1437
|
-
description: "Force
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1446
|
-
|
3685
|
+
description: "Force-directed bubble chart with fixed arrow width",
|
3686
|
+
descriptionZh: "固定箭頭寬度的力導向泡泡圖",
|
3687
|
+
chartParams: {
|
3688
|
+
colors: {
|
3689
|
+
light: {
|
3690
|
+
label: [
|
3691
|
+
"#6CBAFF",
|
3692
|
+
"#FF6C6C",
|
3693
|
+
"#F9B052",
|
3694
|
+
"#7DD3C4",
|
3695
|
+
"#AA93D2",
|
3696
|
+
"#0088FF",
|
3697
|
+
"#FFBABA",
|
3698
|
+
"#86DC72",
|
3699
|
+
"#EF76FF",
|
3700
|
+
"#C4C4C4"
|
3701
|
+
]
|
3702
|
+
}
|
3703
|
+
}
|
3704
|
+
},
|
3705
|
+
pluginParams: {
|
1447
3706
|
ForceDirectedBubbles: {
|
1448
3707
|
arrow: {
|
1449
3708
|
strokeWidthMin: 1.5,
|
@@ -1455,24 +3714,33 @@ const u = {
|
|
1455
3714
|
// 圓型圖例列點
|
1456
3715
|
}
|
1457
3716
|
}
|
1458
|
-
},
|
3717
|
+
}, bt = {
|
1459
3718
|
name: "PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW",
|
1460
|
-
description: "Force
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
3719
|
+
description: "Force-directed bubble chart without arrows",
|
3720
|
+
descriptionZh: "沒有箭頭的力導向泡泡圖",
|
3721
|
+
chartParams: {
|
3722
|
+
colors: {
|
3723
|
+
light: {
|
3724
|
+
label: [
|
3725
|
+
"#6CBAFF",
|
3726
|
+
"#FF6C6C",
|
3727
|
+
"#F9B052",
|
3728
|
+
"#7DD3C4",
|
3729
|
+
"#AA93D2",
|
3730
|
+
"#0088FF",
|
3731
|
+
"#FFBABA",
|
3732
|
+
"#86DC72",
|
3733
|
+
"#EF76FF",
|
3734
|
+
"#C4C4C4"
|
3735
|
+
]
|
3736
|
+
}
|
3737
|
+
}
|
3738
|
+
},
|
3739
|
+
pluginParams: {
|
1470
3740
|
ForceDirectedBubbles: {
|
1471
3741
|
arrow: {
|
1472
3742
|
pointerWidth: 0,
|
1473
3743
|
pointerHeight: 0
|
1474
|
-
// strokeWidthMin: 1.5,
|
1475
|
-
// strokeWidthMax: 9
|
1476
3744
|
}
|
1477
3745
|
},
|
1478
3746
|
RelationshipLegend: {
|
@@ -1480,18 +3748,29 @@ const u = {
|
|
1480
3748
|
// 圓型圖例列點
|
1481
3749
|
}
|
1482
3750
|
}
|
1483
|
-
},
|
3751
|
+
}, Mt = {
|
1484
3752
|
name: "PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM",
|
1485
|
-
description: "Force Directed Bubbles
|
1486
|
-
|
1487
|
-
|
1488
|
-
|
1489
|
-
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1494
|
-
|
3753
|
+
description: "Force Directed Bubbles Chart without mouse drag and zoom control",
|
3754
|
+
descriptionZh: "無滑鼠托曳及縮放控制的力導向泡泡圖",
|
3755
|
+
chartParams: {
|
3756
|
+
colors: {
|
3757
|
+
light: {
|
3758
|
+
label: [
|
3759
|
+
"#6CBAFF",
|
3760
|
+
"#FF6C6C",
|
3761
|
+
"#F9B052",
|
3762
|
+
"#7DD3C4",
|
3763
|
+
"#AA93D2",
|
3764
|
+
"#0088FF",
|
3765
|
+
"#FFBABA",
|
3766
|
+
"#86DC72",
|
3767
|
+
"#EF76FF",
|
3768
|
+
"#C4C4C4"
|
3769
|
+
]
|
3770
|
+
}
|
3771
|
+
}
|
3772
|
+
},
|
3773
|
+
pluginParams: {
|
1495
3774
|
ForceDirectedBubbles: {
|
1496
3775
|
zoomable: !1
|
1497
3776
|
},
|
@@ -1500,18 +3779,59 @@ const u = {
|
|
1500
3779
|
// 圓型圖例列點
|
1501
3780
|
}
|
1502
3781
|
}
|
1503
|
-
},
|
3782
|
+
}, xt = {
|
3783
|
+
name: "PRESET_FORCE_DIRECTED_BUBBLES_SIMPLE",
|
3784
|
+
description: "Simple Force Directed Bubbles Chart",
|
3785
|
+
descriptionZh: "簡單力導向泡泡圖",
|
3786
|
+
chartParams: {
|
3787
|
+
colors: {
|
3788
|
+
light: {
|
3789
|
+
label: [
|
3790
|
+
"#6CBAFF",
|
3791
|
+
"#FF6C6C",
|
3792
|
+
"#F9B052",
|
3793
|
+
"#7DD3C4",
|
3794
|
+
"#AA93D2",
|
3795
|
+
"#0088FF",
|
3796
|
+
"#FFBABA",
|
3797
|
+
"#86DC72",
|
3798
|
+
"#EF76FF",
|
3799
|
+
"#C4C4C4"
|
3800
|
+
]
|
3801
|
+
}
|
3802
|
+
}
|
3803
|
+
},
|
3804
|
+
pluginParams: {
|
3805
|
+
ForceDirectedBubbles: {},
|
3806
|
+
RelationshipLegend: {
|
3807
|
+
listRectRadius: 7,
|
3808
|
+
// 圓型圖例列點
|
3809
|
+
padding: 7
|
3810
|
+
}
|
3811
|
+
}
|
3812
|
+
}, Gt = {
|
1504
3813
|
name: "PRESET_FORCE_DIRECTED_NONE_ZOOM",
|
1505
|
-
description: "Force Directed
|
1506
|
-
|
1507
|
-
|
1508
|
-
|
1509
|
-
|
1510
|
-
|
1511
|
-
|
1512
|
-
|
1513
|
-
|
1514
|
-
|
3814
|
+
description: "Force Directed Chart without mouse drag and zoom control",
|
3815
|
+
descriptionZh: "無滑鼠托曳及縮放控制的力導向圖",
|
3816
|
+
chartParams: {
|
3817
|
+
colors: {
|
3818
|
+
light: {
|
3819
|
+
label: [
|
3820
|
+
"#4BABFF",
|
3821
|
+
"#FFA0A0",
|
3822
|
+
"#7DD3C4",
|
3823
|
+
"#F9B052",
|
3824
|
+
"#8454D4",
|
3825
|
+
"#42C724",
|
3826
|
+
"#FF4B4B",
|
3827
|
+
"#904026",
|
3828
|
+
"#4B25B3",
|
3829
|
+
"#C50669"
|
3830
|
+
]
|
3831
|
+
}
|
3832
|
+
}
|
3833
|
+
},
|
3834
|
+
pluginParams: {
|
1515
3835
|
ForceDirected: {
|
1516
3836
|
zoomable: !1
|
1517
3837
|
},
|
@@ -1520,18 +3840,29 @@ const u = {
|
|
1520
3840
|
// 圓型圖例列點
|
1521
3841
|
}
|
1522
3842
|
}
|
1523
|
-
},
|
3843
|
+
}, Ot = {
|
1524
3844
|
name: "PRESET_FORCE_DIRECTED_FIX_FONT_SIZE",
|
1525
|
-
description: "
|
1526
|
-
|
1527
|
-
|
1528
|
-
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
3845
|
+
description: "Force Directed Chart with fixed font size",
|
3846
|
+
descriptionZh: "固定字體大小的力導向圖",
|
3847
|
+
chartParams: {
|
3848
|
+
colors: {
|
3849
|
+
light: {
|
3850
|
+
label: [
|
3851
|
+
"#4BABFF",
|
3852
|
+
"#FFA0A0",
|
3853
|
+
"#7DD3C4",
|
3854
|
+
"#F9B052",
|
3855
|
+
"#8454D4",
|
3856
|
+
"#42C724",
|
3857
|
+
"#FF4B4B",
|
3858
|
+
"#904026",
|
3859
|
+
"#4B25B3",
|
3860
|
+
"#C50669"
|
3861
|
+
]
|
3862
|
+
}
|
3863
|
+
}
|
3864
|
+
},
|
3865
|
+
pluginParams: {
|
1535
3866
|
ForceDirected: {
|
1536
3867
|
dotLabel: {
|
1537
3868
|
sizeFixed: !0
|
@@ -1545,18 +3876,29 @@ const u = {
|
|
1545
3876
|
// 圓型圖例列點
|
1546
3877
|
}
|
1547
3878
|
}
|
1548
|
-
},
|
3879
|
+
}, Nt = {
|
1549
3880
|
name: "PRESET_FORCE_DIRECTED_NONE_ARROW",
|
1550
|
-
description: "Force Directed
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1554
|
-
|
1555
|
-
|
1556
|
-
|
1557
|
-
|
1558
|
-
|
1559
|
-
|
3881
|
+
description: "Force Directed Chart without Arrows",
|
3882
|
+
descriptionZh: "沒有箭頭的力導向圖",
|
3883
|
+
chartParams: {
|
3884
|
+
colors: {
|
3885
|
+
light: {
|
3886
|
+
label: [
|
3887
|
+
"#4BABFF",
|
3888
|
+
"#FFA0A0",
|
3889
|
+
"#7DD3C4",
|
3890
|
+
"#F9B052",
|
3891
|
+
"#8454D4",
|
3892
|
+
"#42C724",
|
3893
|
+
"#FF4B4B",
|
3894
|
+
"#904026",
|
3895
|
+
"#4B25B3",
|
3896
|
+
"#C50669"
|
3897
|
+
]
|
3898
|
+
}
|
3899
|
+
}
|
3900
|
+
},
|
3901
|
+
pluginParams: {
|
1560
3902
|
ForceDirected: {
|
1561
3903
|
arrow: {
|
1562
3904
|
pointerWidth: 0,
|
@@ -1568,18 +3910,65 @@ const u = {
|
|
1568
3910
|
// 圓型圖例列點
|
1569
3911
|
}
|
1570
3912
|
}
|
1571
|
-
},
|
3913
|
+
}, vt = {
|
3914
|
+
name: "PRESET_FORCE_DIRECTED_SIMPLE",
|
3915
|
+
description: "Simple Force Directed Chart",
|
3916
|
+
descriptionZh: "簡單力導向圖",
|
3917
|
+
chartParams: {
|
3918
|
+
colors: {
|
3919
|
+
light: {
|
3920
|
+
label: [
|
3921
|
+
"#4BABFF",
|
3922
|
+
"#FFA0A0",
|
3923
|
+
"#7DD3C4",
|
3924
|
+
"#F9B052",
|
3925
|
+
"#8454D4",
|
3926
|
+
"#42C724",
|
3927
|
+
"#FF4B4B",
|
3928
|
+
"#904026",
|
3929
|
+
"#4B25B3",
|
3930
|
+
"#C50669"
|
3931
|
+
]
|
3932
|
+
}
|
3933
|
+
}
|
3934
|
+
},
|
3935
|
+
pluginParams: {
|
3936
|
+
ForceDirected: {},
|
3937
|
+
RelationshipLegend: {
|
3938
|
+
listRectRadius: 7,
|
3939
|
+
// 圓型圖例列點
|
3940
|
+
padding: 7
|
3941
|
+
}
|
3942
|
+
}
|
3943
|
+
}, Zt = {
|
1572
3944
|
name: "PRESET_TREE_MAP_BASIC",
|
1573
|
-
description: "
|
3945
|
+
description: "Basic Tree Map",
|
3946
|
+
descriptionZh: "基本樹狀矩形圖",
|
1574
3947
|
chartParams: {
|
3948
|
+
colors: {
|
3949
|
+
light: {
|
3950
|
+
label: [
|
3951
|
+
"#4BABFF",
|
3952
|
+
"#94D6CB",
|
3953
|
+
"#F9B052",
|
3954
|
+
"#8454D4",
|
3955
|
+
"#D58C75",
|
3956
|
+
"#42C724",
|
3957
|
+
"#FF8B8B",
|
3958
|
+
"#904026",
|
3959
|
+
"#C50669",
|
3960
|
+
"#4B25B3"
|
3961
|
+
]
|
3962
|
+
}
|
3963
|
+
},
|
1575
3964
|
padding: {
|
1576
3965
|
top: 40,
|
1577
3966
|
right: 40,
|
1578
|
-
bottom:
|
3967
|
+
bottom: 70,
|
1579
3968
|
left: 40
|
1580
3969
|
}
|
1581
3970
|
},
|
1582
|
-
|
3971
|
+
pluginParams: {
|
1583
3972
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1584
3973
|
TreeMap: {},
|
1585
3974
|
TreeLegend: {
|
@@ -1589,58 +3978,134 @@ const u = {
|
|
1589
3978
|
padding: 14
|
1590
3979
|
}
|
1591
3980
|
}
|
3981
|
+
}, Ut = {
|
3982
|
+
name: "PRESET_TREE_MAP_SIMPLE",
|
3983
|
+
description: "Simple Tree Map",
|
3984
|
+
descriptionZh: "簡單樹狀矩形圖",
|
3985
|
+
chartParams: {
|
3986
|
+
colors: {
|
3987
|
+
light: {
|
3988
|
+
label: [
|
3989
|
+
"#4BABFF",
|
3990
|
+
"#94D6CB",
|
3991
|
+
"#F9B052",
|
3992
|
+
"#8454D4",
|
3993
|
+
"#D58C75",
|
3994
|
+
"#42C724",
|
3995
|
+
"#FF8B8B",
|
3996
|
+
"#904026",
|
3997
|
+
"#C50669",
|
3998
|
+
"#4B25B3"
|
3999
|
+
]
|
4000
|
+
}
|
4001
|
+
},
|
4002
|
+
padding: {
|
4003
|
+
top: 40,
|
4004
|
+
right: 40,
|
4005
|
+
bottom: 60,
|
4006
|
+
left: 40
|
4007
|
+
}
|
4008
|
+
},
|
4009
|
+
pluginParams: {
|
4010
|
+
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
4011
|
+
TreeMap: {},
|
4012
|
+
TreeLegend: {
|
4013
|
+
// position: 'bottom',
|
4014
|
+
// justify: 'center',
|
4015
|
+
placement: "bottom",
|
4016
|
+
padding: 7
|
4017
|
+
}
|
4018
|
+
}
|
1592
4019
|
};
|
1593
4020
|
export {
|
1594
|
-
|
1595
|
-
|
1596
|
-
|
1597
|
-
|
1598
|
-
|
1599
|
-
_ as
|
1600
|
-
|
1601
|
-
|
1602
|
-
|
1603
|
-
|
1604
|
-
|
1605
|
-
|
1606
|
-
|
1607
|
-
|
1608
|
-
|
1609
|
-
|
1610
|
-
|
1611
|
-
|
1612
|
-
|
1613
|
-
|
1614
|
-
|
1615
|
-
|
1616
|
-
|
1617
|
-
|
1618
|
-
|
1619
|
-
|
1620
|
-
|
1621
|
-
|
1622
|
-
|
1623
|
-
|
1624
|
-
|
1625
|
-
|
1626
|
-
|
1627
|
-
|
1628
|
-
|
1629
|
-
|
1630
|
-
|
1631
|
-
|
1632
|
-
|
1633
|
-
|
4021
|
+
P as PRESET_BARS_HORIZONTAL_AND_ROUND,
|
4022
|
+
D as PRESET_BARS_HORIZONTAL_AND_THIN,
|
4023
|
+
T as PRESET_BARS_ROUND,
|
4024
|
+
I as PRESET_BARS_THIN,
|
4025
|
+
u as PRESET_BUBBLES_BASIC,
|
4026
|
+
_ as PRESET_BUBBLES_SCALING_BY_RADIUS,
|
4027
|
+
C as PRESET_BUBBLES_SEPARATE_SERIES,
|
4028
|
+
m as PRESET_BUBBLES_SIMPLE,
|
4029
|
+
i as PRESET_BUBBLES_SUM_SERIES,
|
4030
|
+
Tt as PRESET_FORCE_DIRECTED_BASIC,
|
4031
|
+
It as PRESET_FORCE_DIRECTED_BUBBLES_BASIC,
|
4032
|
+
Lt as PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH,
|
4033
|
+
bt as PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW,
|
4034
|
+
Mt as PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM,
|
4035
|
+
xt as PRESET_FORCE_DIRECTED_BUBBLES_SIMPLE,
|
4036
|
+
Ot as PRESET_FORCE_DIRECTED_FIX_FONT_SIZE,
|
4037
|
+
Nt as PRESET_FORCE_DIRECTED_NONE_ARROW,
|
4038
|
+
Gt as PRESET_FORCE_DIRECTED_NONE_ZOOM,
|
4039
|
+
vt as PRESET_FORCE_DIRECTED_SIMPLE,
|
4040
|
+
L as PRESET_GRID_BASIC,
|
4041
|
+
b as PRESET_GRID_HORIZONTAL,
|
4042
|
+
x as PRESET_GRID_PN_SCALE,
|
4043
|
+
M as PRESET_GRID_PN_SCALE_SIMPLE,
|
4044
|
+
G as PRESET_GRID_ROTATE_AXIS_LABEL,
|
4045
|
+
O as PRESET_GRID_SEPARATE_SERIES,
|
4046
|
+
N as PRESET_GRID_SIMPLE,
|
4047
|
+
y as PRESET_LINES_BASIC,
|
4048
|
+
w as PRESET_LINES_CURVE,
|
4049
|
+
W as PRESET_LINES_HORIZONTAL,
|
4050
|
+
Y as PRESET_LINES_LOOSE_TICKS,
|
4051
|
+
X as PRESET_LINES_ROTATE_AXIS_LABEL,
|
4052
|
+
z as PRESET_LINES_SIMPLE,
|
4053
|
+
K as PRESET_LINES_WITH_SOLID_DOTS,
|
4054
|
+
v as PRESET_LINE_AREAS_BASIC,
|
4055
|
+
Z as PRESET_LINE_AREAS_CURVE,
|
4056
|
+
U as PRESET_LINE_AREAS_HORIZONTAL,
|
4057
|
+
f as PRESET_LINE_AREAS_LOOSE_TICKS,
|
4058
|
+
V as PRESET_LINE_AREAS_ROTATE_AXIS_LABEL,
|
4059
|
+
H as PRESET_LINE_AREAS_SEPARATE_SERIES,
|
4060
|
+
k as PRESET_LINE_AREAS_SIMPLE,
|
4061
|
+
j as PRESET_MULTI_GRID_BASIC,
|
4062
|
+
J as PRESET_MULTI_GRID_DIVERGING,
|
4063
|
+
q as PRESET_MULTI_GRID_DIVERGING_SIMPLE,
|
4064
|
+
$ as PRESET_MULTI_GRID_ROUND_STYLE,
|
4065
|
+
Q as PRESET_MULTI_GRID_ROUND_STYLE_SIMPLE,
|
4066
|
+
et as PRESET_MULTI_GRID_SEPARATE_GRID,
|
4067
|
+
tt as PRESET_MULTI_GRID_SEPARATE_GRID_SIMPLE,
|
4068
|
+
it as PRESET_MULTI_GRID_SIMPLE,
|
4069
|
+
ot as PRESET_MULTI_LINES_SEPARATE_GRID,
|
4070
|
+
st as PRESET_MULTI_LINES_SEPARATE_GRID_SIMPLE,
|
4071
|
+
rt as PRESET_MULTI_LINE_AREAS_SEPARATE_GRID,
|
4072
|
+
at as PRESET_MULTI_LINE_AREAS_SEPARATE_GRID_SIMPLE,
|
4073
|
+
lt as PRESET_MULTI_VALUE_BASIC,
|
4074
|
+
nt as PRESET_MULTI_VALUE_SEPARATE_CATEGORY,
|
4075
|
+
dt as PRESET_MULTI_VALUE_SIMPLE,
|
4076
|
+
a as PRESET_PIE_BASIC,
|
1634
4077
|
r as PRESET_PIE_DONUT,
|
1635
4078
|
s as PRESET_PIE_HALF_DONUT,
|
1636
|
-
l as
|
1637
|
-
|
1638
|
-
|
1639
|
-
|
1640
|
-
|
1641
|
-
|
1642
|
-
|
1643
|
-
|
4079
|
+
l as PRESET_PIE_SEPARATE_SERIES,
|
4080
|
+
n as PRESET_PIE_SIMPLE,
|
4081
|
+
d as PRESET_PIE_SUM_SERIES,
|
4082
|
+
o as PRESET_PIE_WITH_INNER_LABELS,
|
4083
|
+
Et as PRESET_RACING_BARS_ALL_ITEMS,
|
4084
|
+
Ft as PRESET_RACING_BARS_BASIC,
|
4085
|
+
ct as PRESET_RACING_BARS_FAST,
|
4086
|
+
gt as PRESET_RACING_BARS_FASTER,
|
4087
|
+
Bt as PRESET_RACING_BARS_OUTSIDE_LABELS,
|
4088
|
+
pt as PRESET_RACING_BARS_SEPARATE_CATEGORY,
|
4089
|
+
At as PRESET_RACING_BARS_SIMPLE,
|
4090
|
+
St as PRESET_RACING_BARS_STOP,
|
4091
|
+
E as PRESET_ROSE_BASIC,
|
4092
|
+
F as PRESET_ROSE_SCALING_BY_RADIUS,
|
4093
|
+
c as PRESET_ROSE_SEPARATE_SERIES,
|
4094
|
+
p as PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES,
|
4095
|
+
g as PRESET_ROSE_SIMPLE,
|
4096
|
+
B as PRESET_ROSE_SUM_SERIES,
|
4097
|
+
Rt as PRESET_SCATTER_BASIC,
|
4098
|
+
ut as PRESET_SCATTER_BUBBLES_BASIC,
|
4099
|
+
Ct as PRESET_SCATTER_BUBBLES_LINEAR_OPACITY,
|
4100
|
+
_t as PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS,
|
4101
|
+
mt as PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY,
|
4102
|
+
ht as PRESET_SCATTER_BUBBLES_SIMPLE,
|
4103
|
+
Pt as PRESET_SCATTER_SEPARATE_CATEGORY,
|
4104
|
+
Dt as PRESET_SCATTER_SIMPLE,
|
4105
|
+
h as PRESET_SERIES_BASIC,
|
4106
|
+
S as PRESET_SERIES_SEPARATE_SERIES,
|
4107
|
+
A as PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES,
|
1644
4108
|
R as PRESET_SERIES_SUM_SERIES,
|
1645
|
-
|
4109
|
+
Zt as PRESET_TREE_MAP_BASIC,
|
4110
|
+
Ut as PRESET_TREE_MAP_SIMPLE
|
1646
4111
|
};
|