@easyv/config 1.1.29 → 1.1.31
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/lib/animation.js +16 -16
- package/lib/axes.js +6 -1
- package/lib/baseLine.js +228 -225
- package/lib/brush.js +12 -12
- package/lib/control.js +63 -0
- package/lib/extent.js +18 -12
- package/lib/imageGroup.js +12 -12
- package/lib/index.js +7 -0
- package/lib/label.js +841 -770
- package/lib/legend.js +192 -192
- package/lib/multiColor.js +8 -8
- package/lib/pie.js +170 -170
- package/lib/series.js +109 -109
- package/lib/tooltip.js +84 -84
- package/lib/unit.js +20 -20
- package/package.json +30 -30
- package/src/axes.js +8 -2
- package/src/baseLine.js +2 -1
- package/src/control.js +67 -0
- package/src/extent.js +19 -12
- package/src/index.js +2 -0
- package/src/label.js +504 -301
package/lib/pie.js
CHANGED
|
@@ -20,16 +20,16 @@ var defaultBasePie = {
|
|
|
20
20
|
};
|
|
21
21
|
var basePie = function basePie() {
|
|
22
22
|
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultBasePie,
|
|
23
|
-
_ref$chart = _ref.chart
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
innerRadius = _ref$
|
|
27
|
-
_ref$
|
|
28
|
-
outerRadius = _ref$
|
|
29
|
-
_ref$
|
|
30
|
-
cornerRadius = _ref$
|
|
31
|
-
_ref$
|
|
32
|
-
padAngle = _ref$
|
|
23
|
+
_ref$chart = _ref.chart,
|
|
24
|
+
_ref$chart2 = _ref$chart === void 0 ? defaultBasePie.chart : _ref$chart,
|
|
25
|
+
_ref$chart2$innerRadi = _ref$chart2.innerRadius,
|
|
26
|
+
innerRadius = _ref$chart2$innerRadi === void 0 ? defaultBasePie.chart.innerRadius : _ref$chart2$innerRadi,
|
|
27
|
+
_ref$chart2$outerRadi = _ref$chart2.outerRadius,
|
|
28
|
+
outerRadius = _ref$chart2$outerRadi === void 0 ? defaultBasePie.chart.outerRadius : _ref$chart2$outerRadi,
|
|
29
|
+
_ref$chart2$cornerRad = _ref$chart2.cornerRadius,
|
|
30
|
+
cornerRadius = _ref$chart2$cornerRad === void 0 ? defaultBasePie.chart.cornerRadius : _ref$chart2$cornerRad,
|
|
31
|
+
_ref$chart2$padAngle = _ref$chart2.padAngle,
|
|
32
|
+
padAngle = _ref$chart2$padAngle === void 0 ? defaultBasePie.chart.padAngle : _ref$chart2$padAngle;
|
|
33
33
|
return {
|
|
34
34
|
name: 'chart',
|
|
35
35
|
displayName: '图形',
|
|
@@ -87,14 +87,14 @@ var defaultBaseRose = {
|
|
|
87
87
|
};
|
|
88
88
|
var baseRose = function baseRose() {
|
|
89
89
|
var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultBaseRose,
|
|
90
|
-
_ref2$chart = _ref2.chart
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
innerRadius = _ref2$
|
|
94
|
-
_ref2$
|
|
95
|
-
outerRadius = _ref2$
|
|
96
|
-
_ref2$
|
|
97
|
-
padAngle = _ref2$
|
|
90
|
+
_ref2$chart = _ref2.chart,
|
|
91
|
+
_ref2$chart2 = _ref2$chart === void 0 ? defaultBaseRose.chart : _ref2$chart,
|
|
92
|
+
_ref2$chart2$innerRad = _ref2$chart2.innerRadius,
|
|
93
|
+
innerRadius = _ref2$chart2$innerRad === void 0 ? defaultBaseRose.chart.innerRadius : _ref2$chart2$innerRad,
|
|
94
|
+
_ref2$chart2$outerRad = _ref2$chart2.outerRadius,
|
|
95
|
+
outerRadius = _ref2$chart2$outerRad === void 0 ? defaultBaseRose.chart.outerRadius : _ref2$chart2$outerRad,
|
|
96
|
+
_ref2$chart2$padAngle = _ref2$chart2.padAngle,
|
|
97
|
+
padAngle = _ref2$chart2$padAngle === void 0 ? defaultBaseRose.chart.padAngle : _ref2$chart2$padAngle;
|
|
98
98
|
return {
|
|
99
99
|
name: 'chart',
|
|
100
100
|
displayName: '饼图',
|
|
@@ -193,16 +193,16 @@ var defaultRoseAxis = {
|
|
|
193
193
|
};
|
|
194
194
|
var roseCategoryAxis = function roseCategoryAxis() {
|
|
195
195
|
var _ref4 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultRoseAxis,
|
|
196
|
-
_ref4$axis = _ref4.axis
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
textStyle = _ref4$
|
|
200
|
-
_ref4$
|
|
201
|
-
gap = _ref4$
|
|
202
|
-
_ref4$
|
|
203
|
-
axisLine_ = _ref4$
|
|
204
|
-
_ref4$
|
|
205
|
-
gridLine_ = _ref4$
|
|
196
|
+
_ref4$axis = _ref4.axis,
|
|
197
|
+
_ref4$axis2 = _ref4$axis === void 0 ? defaultRoseAxis.axis : _ref4$axis,
|
|
198
|
+
_ref4$axis2$textStyle = _ref4$axis2.textStyle,
|
|
199
|
+
textStyle = _ref4$axis2$textStyle === void 0 ? defaultRoseAxis.axis.textStyle : _ref4$axis2$textStyle,
|
|
200
|
+
_ref4$axis2$gap = _ref4$axis2.gap,
|
|
201
|
+
gap = _ref4$axis2$gap === void 0 ? defaultRoseAxis.axis.gap : _ref4$axis2$gap,
|
|
202
|
+
_ref4$axis2$axisLine = _ref4$axis2.axisLine,
|
|
203
|
+
axisLine_ = _ref4$axis2$axisLine === void 0 ? defaultRoseAxis.axis.axisline : _ref4$axis2$axisLine,
|
|
204
|
+
_ref4$axis2$gridLine = _ref4$axis2.gridLine,
|
|
205
|
+
gridLine_ = _ref4$axis2$gridLine === void 0 ? defaultRoseAxis.axis.gridLine : _ref4$axis2$gridLine;
|
|
206
206
|
return {
|
|
207
207
|
name: 'categoryAxis',
|
|
208
208
|
displayName: '类目轴',
|
|
@@ -228,18 +228,18 @@ var roseCategoryAxis = function roseCategoryAxis() {
|
|
|
228
228
|
};
|
|
229
229
|
var roseValueAxis = function roseValueAxis() {
|
|
230
230
|
var _ref5 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultRoseAxis,
|
|
231
|
-
_ref5$axis = _ref5.axis
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
count = _ref5$
|
|
235
|
-
_ref5$
|
|
236
|
-
textStyle = _ref5$
|
|
237
|
-
_ref5$
|
|
238
|
-
gap = _ref5$
|
|
239
|
-
_ref5$
|
|
240
|
-
axisLine_ = _ref5$
|
|
241
|
-
_ref5$
|
|
242
|
-
gridLine_ = _ref5$
|
|
231
|
+
_ref5$axis = _ref5.axis,
|
|
232
|
+
_ref5$axis2 = _ref5$axis === void 0 ? defaultRoseAxis.axis : _ref5$axis,
|
|
233
|
+
_ref5$axis2$count = _ref5$axis2.count,
|
|
234
|
+
count = _ref5$axis2$count === void 0 ? defaultRoseAxis.axis.count : _ref5$axis2$count,
|
|
235
|
+
_ref5$axis2$textStyle = _ref5$axis2.textStyle,
|
|
236
|
+
textStyle = _ref5$axis2$textStyle === void 0 ? defaultRoseAxis.axis.textStyle : _ref5$axis2$textStyle,
|
|
237
|
+
_ref5$axis2$gap = _ref5$axis2.gap,
|
|
238
|
+
gap = _ref5$axis2$gap === void 0 ? defaultRoseAxis.axis.gap : _ref5$axis2$gap,
|
|
239
|
+
_ref5$axis2$axisLine = _ref5$axis2.axisLine,
|
|
240
|
+
axisLine_ = _ref5$axis2$axisLine === void 0 ? defaultRoseAxis.axis.axisline : _ref5$axis2$axisLine,
|
|
241
|
+
_ref5$axis2$gridLine = _ref5$axis2.gridLine,
|
|
242
|
+
gridLine_ = _ref5$axis2$gridLine === void 0 ? defaultRoseAxis.axis.gridLine : _ref5$axis2$gridLine;
|
|
243
243
|
return {
|
|
244
244
|
name: 'valueAxis',
|
|
245
245
|
displayName: '数值轴',
|
|
@@ -276,14 +276,14 @@ var defaultCategoryText = {
|
|
|
276
276
|
}
|
|
277
277
|
};
|
|
278
278
|
var categoryText = function categoryText(_ref6) {
|
|
279
|
-
var _ref6$categoryText = _ref6.categoryText
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
show = _ref6$
|
|
283
|
-
_ref6$
|
|
284
|
-
font = _ref6$
|
|
285
|
-
_ref6$
|
|
286
|
-
gap = _ref6$
|
|
279
|
+
var _ref6$categoryText = _ref6.categoryText,
|
|
280
|
+
_ref6$categoryText2 = _ref6$categoryText === void 0 ? defaultCategoryText : _ref6$categoryText,
|
|
281
|
+
_ref6$categoryText2$s = _ref6$categoryText2.show,
|
|
282
|
+
show = _ref6$categoryText2$s === void 0 ? defaultCategoryText.categoryText.show : _ref6$categoryText2$s,
|
|
283
|
+
_ref6$categoryText2$f = _ref6$categoryText2.font,
|
|
284
|
+
font = _ref6$categoryText2$f === void 0 ? defaultCategoryText.categoryText.font : _ref6$categoryText2$f,
|
|
285
|
+
_ref6$categoryText2$g = _ref6$categoryText2.gap,
|
|
286
|
+
gap = _ref6$categoryText2$g === void 0 ? defaultCategoryText.categoryText.gap : _ref6$categoryText2$g;
|
|
287
287
|
return {
|
|
288
288
|
name: 'categoryText',
|
|
289
289
|
displayName: '类目文本',
|
|
@@ -320,20 +320,20 @@ var defaultDecorate = {
|
|
|
320
320
|
}
|
|
321
321
|
};
|
|
322
322
|
var decorate = function decorate(_ref7) {
|
|
323
|
-
var _ref7$decorate = _ref7.decorate
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
show = _ref7$
|
|
327
|
-
_ref7$
|
|
328
|
-
innerRadius = _ref7$
|
|
329
|
-
_ref7$
|
|
330
|
-
outerRadius = _ref7$
|
|
331
|
-
_ref7$
|
|
332
|
-
opacity = _ref7$
|
|
333
|
-
_ref7$
|
|
334
|
-
speed = _ref7$
|
|
335
|
-
_ref7$
|
|
336
|
-
direction = _ref7$
|
|
323
|
+
var _ref7$decorate = _ref7.decorate,
|
|
324
|
+
_ref7$decorate2 = _ref7$decorate === void 0 ? defaultDecorate : _ref7$decorate,
|
|
325
|
+
_ref7$decorate2$show = _ref7$decorate2.show,
|
|
326
|
+
show = _ref7$decorate2$show === void 0 ? defaultDecorate.decorate.show : _ref7$decorate2$show,
|
|
327
|
+
_ref7$decorate2$inner = _ref7$decorate2.innerRadius,
|
|
328
|
+
innerRadius = _ref7$decorate2$inner === void 0 ? defaultDecorate.decorate.innerRadius : _ref7$decorate2$inner,
|
|
329
|
+
_ref7$decorate2$outer = _ref7$decorate2.outerRadius,
|
|
330
|
+
outerRadius = _ref7$decorate2$outer === void 0 ? defaultDecorate.decorate.outerRadius : _ref7$decorate2$outer,
|
|
331
|
+
_ref7$decorate2$opaci = _ref7$decorate2.opacity,
|
|
332
|
+
opacity = _ref7$decorate2$opaci === void 0 ? defaultDecorate.decorate.opacity : _ref7$decorate2$opaci,
|
|
333
|
+
_ref7$decorate2$speed = _ref7$decorate2.speed,
|
|
334
|
+
speed = _ref7$decorate2$speed === void 0 ? defaultDecorate.decorate.speed : _ref7$decorate2$speed,
|
|
335
|
+
_ref7$decorate2$direc = _ref7$decorate2.direction,
|
|
336
|
+
direction = _ref7$decorate2$direc === void 0 ? defaultDecorate.decorate.direction : _ref7$decorate2$direc;
|
|
337
337
|
return {
|
|
338
338
|
name: 'decorate',
|
|
339
339
|
displayName: '装饰物',
|
|
@@ -492,62 +492,62 @@ var defaultCurrent = {
|
|
|
492
492
|
};
|
|
493
493
|
var current = function current() {
|
|
494
494
|
var _ref9 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultCurrent,
|
|
495
|
-
_ref9$current = _ref9.current
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
show = _ref9$
|
|
499
|
-
_ref9$
|
|
500
|
-
gap = _ref9$
|
|
501
|
-
_ref9$
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
showName = _ref9$
|
|
505
|
-
_ref9$
|
|
506
|
-
nameColor = _ref9$
|
|
507
|
-
_ref9$
|
|
508
|
-
nameFont = _ref9$
|
|
509
|
-
nameTranslate = _ref9$
|
|
510
|
-
_ref9$
|
|
511
|
-
maxWidth = _ref9$
|
|
512
|
-
overflow = _ref9$
|
|
513
|
-
_ref9$
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
showPercent = _ref9$
|
|
517
|
-
_ref9$
|
|
518
|
-
percentColor = _ref9$
|
|
519
|
-
_ref9$
|
|
520
|
-
precision = _ref9$
|
|
521
|
-
_ref9$
|
|
522
|
-
percentFont = _ref9$
|
|
523
|
-
_ref9$
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
percentTranslateY = _ref9$
|
|
527
|
-
_ref9$
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
showValue = _ref9$
|
|
531
|
-
_ref9$
|
|
532
|
-
valueColor = _ref9$
|
|
533
|
-
_ref9$
|
|
534
|
-
valueFont = _ref9$
|
|
535
|
-
_ref9$
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
valueTranslateY = _ref9$
|
|
539
|
-
_ref9$
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
showSuffix = _ref9$
|
|
543
|
-
_ref9$
|
|
544
|
-
text = _ref9$
|
|
545
|
-
_ref9$
|
|
546
|
-
fontSize = _ref9$
|
|
547
|
-
_ref9$
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
suffixTranslateY = _ref9$
|
|
495
|
+
_ref9$current = _ref9.current,
|
|
496
|
+
_ref9$current2 = _ref9$current === void 0 ? defaultCurrent.current : _ref9$current,
|
|
497
|
+
_ref9$current2$show = _ref9$current2.show,
|
|
498
|
+
show = _ref9$current2$show === void 0 ? defaultCurrent.current.show : _ref9$current2$show,
|
|
499
|
+
_ref9$current2$gap = _ref9$current2.gap,
|
|
500
|
+
gap = _ref9$current2$gap === void 0 ? defaultCurrent.current.gap : _ref9$current2$gap,
|
|
501
|
+
_ref9$current2$name = _ref9$current2.name,
|
|
502
|
+
_ref9$current2$name2 = _ref9$current2$name === void 0 ? defaultCurrent.current.name : _ref9$current2$name,
|
|
503
|
+
_ref9$current2$name2$ = _ref9$current2$name2.show,
|
|
504
|
+
showName = _ref9$current2$name2$ === void 0 ? defaultCurrent.current.name.show : _ref9$current2$name2$,
|
|
505
|
+
_ref9$current2$name2$2 = _ref9$current2$name2.sameColor,
|
|
506
|
+
nameColor = _ref9$current2$name2$2 === void 0 ? defaultCurrent.current.name.sameColor : _ref9$current2$name2$2,
|
|
507
|
+
_ref9$current2$name2$3 = _ref9$current2$name2.font,
|
|
508
|
+
nameFont = _ref9$current2$name2$3 === void 0 ? defaultCurrent.current.name.font : _ref9$current2$name2$3,
|
|
509
|
+
nameTranslate = _ref9$current2$name2.translate,
|
|
510
|
+
_ref9$current2$name2$4 = _ref9$current2$name2.maxWidth,
|
|
511
|
+
maxWidth = _ref9$current2$name2$4 === void 0 ? defaultCurrent.current.name.maxWidth : _ref9$current2$name2$4,
|
|
512
|
+
overflow = _ref9$current2$name2.overflow,
|
|
513
|
+
_ref9$current2$percen = _ref9$current2.percent,
|
|
514
|
+
_ref9$current2$percen2 = _ref9$current2$percen === void 0 ? defaultCurrent.current.percent : _ref9$current2$percen,
|
|
515
|
+
_ref9$current2$percen3 = _ref9$current2$percen2.show,
|
|
516
|
+
showPercent = _ref9$current2$percen3 === void 0 ? defaultCurrent.current.percent.show : _ref9$current2$percen3,
|
|
517
|
+
_ref9$current2$percen4 = _ref9$current2$percen2.sameColor,
|
|
518
|
+
percentColor = _ref9$current2$percen4 === void 0 ? defaultCurrent.current.percent.sameColor : _ref9$current2$percen4,
|
|
519
|
+
_ref9$current2$percen5 = _ref9$current2$percen2.precision,
|
|
520
|
+
precision = _ref9$current2$percen5 === void 0 ? defaultCurrent.current.percent.precision : _ref9$current2$percen5,
|
|
521
|
+
_ref9$current2$percen6 = _ref9$current2$percen2.font,
|
|
522
|
+
percentFont = _ref9$current2$percen6 === void 0 ? defaultCurrent.current.percent.font : _ref9$current2$percen6,
|
|
523
|
+
_ref9$current2$percen7 = _ref9$current2$percen2.translate,
|
|
524
|
+
_ref9$current2$percen8 = _ref9$current2$percen7 === void 0 ? defaultCurrent.current.percent.translate : _ref9$current2$percen7,
|
|
525
|
+
percentTranslateX = _ref9$current2$percen8.x,
|
|
526
|
+
percentTranslateY = _ref9$current2$percen8.y,
|
|
527
|
+
_ref9$current2$value = _ref9$current2.value,
|
|
528
|
+
_ref9$current2$value2 = _ref9$current2$value === void 0 ? defaultCurrent.current.value : _ref9$current2$value,
|
|
529
|
+
_ref9$current2$value3 = _ref9$current2$value2.show,
|
|
530
|
+
showValue = _ref9$current2$value3 === void 0 ? defaultCurrent.current.value.show : _ref9$current2$value3,
|
|
531
|
+
_ref9$current2$value4 = _ref9$current2$value2.sameColor,
|
|
532
|
+
valueColor = _ref9$current2$value4 === void 0 ? defaultCurrent.current.value.sameColor : _ref9$current2$value4,
|
|
533
|
+
_ref9$current2$value5 = _ref9$current2$value2.font,
|
|
534
|
+
valueFont = _ref9$current2$value5 === void 0 ? defaultCurrent.current.value.font : _ref9$current2$value5,
|
|
535
|
+
_ref9$current2$value6 = _ref9$current2$value2.translate,
|
|
536
|
+
_ref9$current2$value7 = _ref9$current2$value6 === void 0 ? defaultCurrent.current.value.translate : _ref9$current2$value6,
|
|
537
|
+
valueTranslateX = _ref9$current2$value7.x,
|
|
538
|
+
valueTranslateY = _ref9$current2$value7.y,
|
|
539
|
+
_ref9$current2$value8 = _ref9$current2$value2.suffix,
|
|
540
|
+
_ref9$current2$value9 = _ref9$current2$value8 === void 0 ? defaultCurrent.current.value.suffix : _ref9$current2$value8,
|
|
541
|
+
_ref9$current2$value10 = _ref9$current2$value9.show,
|
|
542
|
+
showSuffix = _ref9$current2$value10 === void 0 ? defaultCurrent.current.value.suffix.show : _ref9$current2$value10,
|
|
543
|
+
_ref9$current2$value11 = _ref9$current2$value9.text,
|
|
544
|
+
text = _ref9$current2$value11 === void 0 ? defaultCurrent.current.value.suffix.text : _ref9$current2$value11,
|
|
545
|
+
_ref9$current2$value12 = _ref9$current2$value9.fontSize,
|
|
546
|
+
fontSize = _ref9$current2$value12 === void 0 ? defaultCurrent.current.value.suffix.fontSize : _ref9$current2$value12,
|
|
547
|
+
_ref9$current2$value13 = _ref9$current2$value9.translate,
|
|
548
|
+
_ref9$current2$value14 = _ref9$current2$value13 === void 0 ? defaultCurrent.current.value.suffix.translate : _ref9$current2$value13,
|
|
549
|
+
suffixTranslateX = _ref9$current2$value14.x,
|
|
550
|
+
suffixTranslateY = _ref9$current2$value14.y;
|
|
551
551
|
return {
|
|
552
552
|
name: 'current',
|
|
553
553
|
displayName: '当前值',
|
|
@@ -674,14 +674,14 @@ var defaultBaseOuter = {
|
|
|
674
674
|
};
|
|
675
675
|
var baseOuter = function baseOuter() {
|
|
676
676
|
var _ref10 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultBaseOuter,
|
|
677
|
-
_ref10$chart = _ref10.chart
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
innerRadius = _ref10$
|
|
681
|
-
_ref10$
|
|
682
|
-
outerRadius = _ref10$
|
|
683
|
-
_ref10$
|
|
684
|
-
padAngle = _ref10$
|
|
677
|
+
_ref10$chart = _ref10.chart,
|
|
678
|
+
_ref10$chart2 = _ref10$chart === void 0 ? defaultBasePie.chart : _ref10$chart,
|
|
679
|
+
_ref10$chart2$innerRa = _ref10$chart2.innerRadius,
|
|
680
|
+
innerRadius = _ref10$chart2$innerRa === void 0 ? defaultBasePie.chart.innerRadius : _ref10$chart2$innerRa,
|
|
681
|
+
_ref10$chart2$outerRa = _ref10$chart2.outerRadius,
|
|
682
|
+
outerRadius = _ref10$chart2$outerRa === void 0 ? defaultBasePie.chart.outerRadius : _ref10$chart2$outerRa,
|
|
683
|
+
_ref10$chart2$padAngl = _ref10$chart2.padAngle,
|
|
684
|
+
padAngle = _ref10$chart2$padAngl === void 0 ? defaultBasePie.chart.padAngle : _ref10$chart2$padAngl;
|
|
685
685
|
return {
|
|
686
686
|
name: 'chart',
|
|
687
687
|
displayName: '图形',
|
|
@@ -737,24 +737,24 @@ var defaultOuterDecorate = {
|
|
|
737
737
|
};
|
|
738
738
|
var outerDecorate = function outerDecorate() {
|
|
739
739
|
var _ref11 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultOuterDecorate,
|
|
740
|
-
_ref11$outerDecorate = _ref11.outerDecorate
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
color = _ref11$
|
|
744
|
-
_ref11$
|
|
745
|
-
width = _ref11$
|
|
746
|
-
_ref11$
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
show = _ref11$
|
|
750
|
-
_ref11$
|
|
751
|
-
count = _ref11$
|
|
752
|
-
_ref11$
|
|
753
|
-
tickColor = _ref11$
|
|
754
|
-
_ref11$
|
|
755
|
-
tickWidth = _ref11$
|
|
756
|
-
_ref11$
|
|
757
|
-
length = _ref11$
|
|
740
|
+
_ref11$outerDecorate = _ref11.outerDecorate,
|
|
741
|
+
_ref11$outerDecorate2 = _ref11$outerDecorate === void 0 ? defaultOuterDecorate.outerDecorate : _ref11$outerDecorate,
|
|
742
|
+
_ref11$outerDecorate3 = _ref11$outerDecorate2.color,
|
|
743
|
+
color = _ref11$outerDecorate3 === void 0 ? defaultOuterDecorate.outerDecorate.color : _ref11$outerDecorate3,
|
|
744
|
+
_ref11$outerDecorate4 = _ref11$outerDecorate2.width,
|
|
745
|
+
width = _ref11$outerDecorate4 === void 0 ? defaultOuterDecorate.outerDecorate.width : _ref11$outerDecorate4,
|
|
746
|
+
_ref11$outerDecorate5 = _ref11$outerDecorate2.tick,
|
|
747
|
+
_ref11$outerDecorate6 = _ref11$outerDecorate5 === void 0 ? defaultOuterDecorate.outerDecorate.tick : _ref11$outerDecorate5,
|
|
748
|
+
_ref11$outerDecorate7 = _ref11$outerDecorate6.show,
|
|
749
|
+
show = _ref11$outerDecorate7 === void 0 ? defaultOuterDecorate.outerDecorate.tick.show : _ref11$outerDecorate7,
|
|
750
|
+
_ref11$outerDecorate8 = _ref11$outerDecorate6.count,
|
|
751
|
+
count = _ref11$outerDecorate8 === void 0 ? defaultOuterDecorate.outerDecorate.tick.count : _ref11$outerDecorate8,
|
|
752
|
+
_ref11$outerDecorate9 = _ref11$outerDecorate6.color,
|
|
753
|
+
tickColor = _ref11$outerDecorate9 === void 0 ? defaultOuterDecorate.outerDecorate.tick.color : _ref11$outerDecorate9,
|
|
754
|
+
_ref11$outerDecorate10 = _ref11$outerDecorate6.width,
|
|
755
|
+
tickWidth = _ref11$outerDecorate10 === void 0 ? defaultOuterDecorate.outerDecorate.tick.width : _ref11$outerDecorate10,
|
|
756
|
+
_ref11$outerDecorate11 = _ref11$outerDecorate6.length,
|
|
757
|
+
length = _ref11$outerDecorate11 === void 0 ? defaultOuterDecorate.outerDecorate.tick.length : _ref11$outerDecorate11;
|
|
758
758
|
return {
|
|
759
759
|
name: 'outerDecorate',
|
|
760
760
|
displayName: '外环装饰',
|
|
@@ -915,32 +915,32 @@ var defaultPie = {
|
|
|
915
915
|
};
|
|
916
916
|
var _default = function _default() {
|
|
917
917
|
var _ref15 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultPie,
|
|
918
|
-
_ref15$fan = _ref15.fan
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
outerRadius = _ref15$
|
|
924
|
-
_ref15$
|
|
925
|
-
rose = _ref15$
|
|
926
|
-
_ref15$
|
|
927
|
-
baseRadius = _ref15$
|
|
928
|
-
_ref15$
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
startAngle = _ref15$
|
|
932
|
-
_ref15$
|
|
933
|
-
endAngle = _ref15$
|
|
934
|
-
_ref15$
|
|
935
|
-
antiClockwise = _ref15$
|
|
936
|
-
_ref15$
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
show = _ref15$
|
|
940
|
-
_ref15$
|
|
941
|
-
strokeWidth = _ref15$
|
|
942
|
-
_ref15$
|
|
943
|
-
color = _ref15$
|
|
918
|
+
_ref15$fan = _ref15.fan,
|
|
919
|
+
_ref15$fan2 = _ref15$fan === void 0 ? defaultPie.fan : _ref15$fan,
|
|
920
|
+
_ref15$fan2$chart = _ref15$fan2.chart,
|
|
921
|
+
_ref15$fan2$chart2 = _ref15$fan2$chart === void 0 ? defaultPie.fan.chart : _ref15$fan2$chart,
|
|
922
|
+
_ref15$fan2$chart2$ou = _ref15$fan2$chart2.outerRadius,
|
|
923
|
+
outerRadius = _ref15$fan2$chart2$ou === void 0 ? defaultPie.fan.chart.outerRadius : _ref15$fan2$chart2$ou,
|
|
924
|
+
_ref15$fan2$chart2$ro = _ref15$fan2$chart2.rose,
|
|
925
|
+
rose = _ref15$fan2$chart2$ro === void 0 ? defaultPie.fan.chart.rose : _ref15$fan2$chart2$ro,
|
|
926
|
+
_ref15$fan2$chart2$ba = _ref15$fan2$chart2.baseRadius,
|
|
927
|
+
baseRadius = _ref15$fan2$chart2$ba === void 0 ? defaultPie.fan.chart.baseRadius : _ref15$fan2$chart2$ba,
|
|
928
|
+
_ref15$fan2$angle = _ref15$fan2.angle,
|
|
929
|
+
_ref15$fan2$angle2 = _ref15$fan2$angle === void 0 ? defaultPie.fan.angle : _ref15$fan2$angle,
|
|
930
|
+
_ref15$fan2$angle2$st = _ref15$fan2$angle2.startAngle,
|
|
931
|
+
startAngle = _ref15$fan2$angle2$st === void 0 ? defaultPie.fan.angle.startAngle : _ref15$fan2$angle2$st,
|
|
932
|
+
_ref15$fan2$angle2$en = _ref15$fan2$angle2.endAngle,
|
|
933
|
+
endAngle = _ref15$fan2$angle2$en === void 0 ? defaultPie.fan.angle.endAngle : _ref15$fan2$angle2$en,
|
|
934
|
+
_ref15$fan2$angle2$an = _ref15$fan2$angle2.antiClockwise,
|
|
935
|
+
antiClockwise = _ref15$fan2$angle2$an === void 0 ? defaultPie.fan.angle.antiClockwise : _ref15$fan2$angle2$an,
|
|
936
|
+
_ref15$fan2$stroke = _ref15$fan2.stroke,
|
|
937
|
+
_ref15$fan2$stroke2 = _ref15$fan2$stroke === void 0 ? defaultPie.fan.stroke : _ref15$fan2$stroke,
|
|
938
|
+
_ref15$fan2$stroke2$s = _ref15$fan2$stroke2.show,
|
|
939
|
+
show = _ref15$fan2$stroke2$s === void 0 ? defaultPie.fan.stroke.show : _ref15$fan2$stroke2$s,
|
|
940
|
+
_ref15$fan2$stroke2$s2 = _ref15$fan2$stroke2.strokeWidth,
|
|
941
|
+
strokeWidth = _ref15$fan2$stroke2$s2 === void 0 ? defaultPie.fan.stroke.strokeWidth : _ref15$fan2$stroke2$s2,
|
|
942
|
+
_ref15$fan2$stroke2$c = _ref15$fan2$stroke2.color,
|
|
943
|
+
color = _ref15$fan2$stroke2$c === void 0 ? defaultPie.fan.stroke.color : _ref15$fan2$stroke2$c;
|
|
944
944
|
return {
|
|
945
945
|
name: 'fan',
|
|
946
946
|
displayName: '饼图属性',
|