@easyv/config 1.1.33 → 1.1.35
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/baseLine.js +44 -44
- package/lib/brush.js +12 -12
- package/lib/imageGroup.js +12 -12
- package/lib/label.js +115 -108
- package/lib/legend.js +192 -192
- package/lib/multiColor.js +8 -8
- package/lib/pie.js +170 -170
- package/lib/pieTooltip.js +78 -79
- package/lib/series.js +109 -109
- package/lib/tooltip.js +84 -84
- package/lib/unit.js +20 -20
- package/package.json +1 -1
- package/pnpm-lock.yaml +5974 -0
- package/src/control.js +67 -67
- package/src/extent.js +36 -36
- package/src/index.js +105 -105
- package/src/label.js +7 -0
- package/src/pieTooltip.js +331 -333
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$chart = _ref$chart === void 0 ? defaultBasePie.chart : _ref$chart;
|
|
25
|
+
var _ref$chart$innerRadiu = _ref$chart.innerRadius,
|
|
26
|
+
innerRadius = _ref$chart$innerRadiu === void 0 ? defaultBasePie.chart.innerRadius : _ref$chart$innerRadiu,
|
|
27
|
+
_ref$chart$outerRadiu = _ref$chart.outerRadius,
|
|
28
|
+
outerRadius = _ref$chart$outerRadiu === void 0 ? defaultBasePie.chart.outerRadius : _ref$chart$outerRadiu,
|
|
29
|
+
_ref$chart$cornerRadi = _ref$chart.cornerRadius,
|
|
30
|
+
cornerRadius = _ref$chart$cornerRadi === void 0 ? defaultBasePie.chart.cornerRadius : _ref$chart$cornerRadi,
|
|
31
|
+
_ref$chart$padAngle = _ref$chart.padAngle,
|
|
32
|
+
padAngle = _ref$chart$padAngle === void 0 ? defaultBasePie.chart.padAngle : _ref$chart$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$chart = _ref2$chart === void 0 ? defaultBaseRose.chart : _ref2$chart;
|
|
92
|
+
var _ref2$chart$innerRadi = _ref2$chart.innerRadius,
|
|
93
|
+
innerRadius = _ref2$chart$innerRadi === void 0 ? defaultBaseRose.chart.innerRadius : _ref2$chart$innerRadi,
|
|
94
|
+
_ref2$chart$outerRadi = _ref2$chart.outerRadius,
|
|
95
|
+
outerRadius = _ref2$chart$outerRadi === void 0 ? defaultBaseRose.chart.outerRadius : _ref2$chart$outerRadi,
|
|
96
|
+
_ref2$chart$padAngle = _ref2$chart.padAngle,
|
|
97
|
+
padAngle = _ref2$chart$padAngle === void 0 ? defaultBaseRose.chart.padAngle : _ref2$chart$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$axis = _ref4$axis === void 0 ? defaultRoseAxis.axis : _ref4$axis;
|
|
198
|
+
var _ref4$axis$textStyle = _ref4$axis.textStyle,
|
|
199
|
+
textStyle = _ref4$axis$textStyle === void 0 ? defaultRoseAxis.axis.textStyle : _ref4$axis$textStyle,
|
|
200
|
+
_ref4$axis$gap = _ref4$axis.gap,
|
|
201
|
+
gap = _ref4$axis$gap === void 0 ? defaultRoseAxis.axis.gap : _ref4$axis$gap,
|
|
202
|
+
_ref4$axis$axisLine = _ref4$axis.axisLine,
|
|
203
|
+
axisLine_ = _ref4$axis$axisLine === void 0 ? defaultRoseAxis.axis.axisline : _ref4$axis$axisLine,
|
|
204
|
+
_ref4$axis$gridLine = _ref4$axis.gridLine,
|
|
205
|
+
gridLine_ = _ref4$axis$gridLine === void 0 ? defaultRoseAxis.axis.gridLine : _ref4$axis$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$axis = _ref5$axis === void 0 ? defaultRoseAxis.axis : _ref5$axis;
|
|
233
|
+
var _ref5$axis$count = _ref5$axis.count,
|
|
234
|
+
count = _ref5$axis$count === void 0 ? defaultRoseAxis.axis.count : _ref5$axis$count,
|
|
235
|
+
_ref5$axis$textStyle = _ref5$axis.textStyle,
|
|
236
|
+
textStyle = _ref5$axis$textStyle === void 0 ? defaultRoseAxis.axis.textStyle : _ref5$axis$textStyle,
|
|
237
|
+
_ref5$axis$gap = _ref5$axis.gap,
|
|
238
|
+
gap = _ref5$axis$gap === void 0 ? defaultRoseAxis.axis.gap : _ref5$axis$gap,
|
|
239
|
+
_ref5$axis$axisLine = _ref5$axis.axisLine,
|
|
240
|
+
axisLine_ = _ref5$axis$axisLine === void 0 ? defaultRoseAxis.axis.axisline : _ref5$axis$axisLine,
|
|
241
|
+
_ref5$axis$gridLine = _ref5$axis.gridLine,
|
|
242
|
+
gridLine_ = _ref5$axis$gridLine === void 0 ? defaultRoseAxis.axis.gridLine : _ref5$axis$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$categoryText = _ref6$categoryText === void 0 ? defaultCategoryText : _ref6$categoryText;
|
|
281
|
+
var _ref6$categoryText$sh = _ref6$categoryText.show,
|
|
282
|
+
show = _ref6$categoryText$sh === void 0 ? defaultCategoryText.categoryText.show : _ref6$categoryText$sh,
|
|
283
|
+
_ref6$categoryText$fo = _ref6$categoryText.font,
|
|
284
|
+
font = _ref6$categoryText$fo === void 0 ? defaultCategoryText.categoryText.font : _ref6$categoryText$fo,
|
|
285
|
+
_ref6$categoryText$ga = _ref6$categoryText.gap,
|
|
286
|
+
gap = _ref6$categoryText$ga === void 0 ? defaultCategoryText.categoryText.gap : _ref6$categoryText$ga;
|
|
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$decorate = _ref7$decorate === void 0 ? defaultDecorate : _ref7$decorate;
|
|
325
|
+
var _ref7$decorate$show = _ref7$decorate.show,
|
|
326
|
+
show = _ref7$decorate$show === void 0 ? defaultDecorate.decorate.show : _ref7$decorate$show,
|
|
327
|
+
_ref7$decorate$innerR = _ref7$decorate.innerRadius,
|
|
328
|
+
innerRadius = _ref7$decorate$innerR === void 0 ? defaultDecorate.decorate.innerRadius : _ref7$decorate$innerR,
|
|
329
|
+
_ref7$decorate$outerR = _ref7$decorate.outerRadius,
|
|
330
|
+
outerRadius = _ref7$decorate$outerR === void 0 ? defaultDecorate.decorate.outerRadius : _ref7$decorate$outerR,
|
|
331
|
+
_ref7$decorate$opacit = _ref7$decorate.opacity,
|
|
332
|
+
opacity = _ref7$decorate$opacit === void 0 ? defaultDecorate.decorate.opacity : _ref7$decorate$opacit,
|
|
333
|
+
_ref7$decorate$speed = _ref7$decorate.speed,
|
|
334
|
+
speed = _ref7$decorate$speed === void 0 ? defaultDecorate.decorate.speed : _ref7$decorate$speed,
|
|
335
|
+
_ref7$decorate$direct = _ref7$decorate.direction,
|
|
336
|
+
direction = _ref7$decorate$direct === void 0 ? defaultDecorate.decorate.direction : _ref7$decorate$direct;
|
|
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$current = _ref9$current === void 0 ? defaultCurrent.current : _ref9$current;
|
|
497
|
+
var _ref9$current$show = _ref9$current.show,
|
|
498
|
+
show = _ref9$current$show === void 0 ? defaultCurrent.current.show : _ref9$current$show,
|
|
499
|
+
_ref9$current$gap = _ref9$current.gap,
|
|
500
|
+
gap = _ref9$current$gap === void 0 ? defaultCurrent.current.gap : _ref9$current$gap,
|
|
501
|
+
_ref9$current$name = _ref9$current.name;
|
|
502
|
+
_ref9$current$name = _ref9$current$name === void 0 ? defaultCurrent.current.name : _ref9$current$name;
|
|
503
|
+
var _ref9$current$name$sh = _ref9$current$name.show,
|
|
504
|
+
showName = _ref9$current$name$sh === void 0 ? defaultCurrent.current.name.show : _ref9$current$name$sh,
|
|
505
|
+
_ref9$current$name$sa = _ref9$current$name.sameColor,
|
|
506
|
+
nameColor = _ref9$current$name$sa === void 0 ? defaultCurrent.current.name.sameColor : _ref9$current$name$sa,
|
|
507
|
+
_ref9$current$name$fo = _ref9$current$name.font,
|
|
508
|
+
nameFont = _ref9$current$name$fo === void 0 ? defaultCurrent.current.name.font : _ref9$current$name$fo,
|
|
509
|
+
nameTranslate = _ref9$current$name.translate,
|
|
510
|
+
_ref9$current$name$ma = _ref9$current$name.maxWidth,
|
|
511
|
+
maxWidth = _ref9$current$name$ma === void 0 ? defaultCurrent.current.name.maxWidth : _ref9$current$name$ma,
|
|
512
|
+
overflow = _ref9$current$name.overflow,
|
|
513
|
+
_ref9$current$percent = _ref9$current.percent;
|
|
514
|
+
_ref9$current$percent = _ref9$current$percent === void 0 ? defaultCurrent.current.percent : _ref9$current$percent;
|
|
515
|
+
var _ref9$current$percent2 = _ref9$current$percent.show,
|
|
516
|
+
showPercent = _ref9$current$percent2 === void 0 ? defaultCurrent.current.percent.show : _ref9$current$percent2,
|
|
517
|
+
_ref9$current$percent3 = _ref9$current$percent.sameColor,
|
|
518
|
+
percentColor = _ref9$current$percent3 === void 0 ? defaultCurrent.current.percent.sameColor : _ref9$current$percent3,
|
|
519
|
+
_ref9$current$percent4 = _ref9$current$percent.precision,
|
|
520
|
+
precision = _ref9$current$percent4 === void 0 ? defaultCurrent.current.percent.precision : _ref9$current$percent4,
|
|
521
|
+
_ref9$current$percent5 = _ref9$current$percent.font,
|
|
522
|
+
percentFont = _ref9$current$percent5 === void 0 ? defaultCurrent.current.percent.font : _ref9$current$percent5,
|
|
523
|
+
_ref9$current$percent6 = _ref9$current$percent.translate;
|
|
524
|
+
_ref9$current$percent6 = _ref9$current$percent6 === void 0 ? defaultCurrent.current.percent.translate : _ref9$current$percent6;
|
|
525
|
+
var percentTranslateX = _ref9$current$percent6.x,
|
|
526
|
+
percentTranslateY = _ref9$current$percent6.y,
|
|
527
|
+
_ref9$current$value = _ref9$current.value;
|
|
528
|
+
_ref9$current$value = _ref9$current$value === void 0 ? defaultCurrent.current.value : _ref9$current$value;
|
|
529
|
+
var _ref9$current$value$s = _ref9$current$value.show,
|
|
530
|
+
showValue = _ref9$current$value$s === void 0 ? defaultCurrent.current.value.show : _ref9$current$value$s,
|
|
531
|
+
_ref9$current$value$s2 = _ref9$current$value.sameColor,
|
|
532
|
+
valueColor = _ref9$current$value$s2 === void 0 ? defaultCurrent.current.value.sameColor : _ref9$current$value$s2,
|
|
533
|
+
_ref9$current$value$f = _ref9$current$value.font,
|
|
534
|
+
valueFont = _ref9$current$value$f === void 0 ? defaultCurrent.current.value.font : _ref9$current$value$f,
|
|
535
|
+
_ref9$current$value$t = _ref9$current$value.translate;
|
|
536
|
+
_ref9$current$value$t = _ref9$current$value$t === void 0 ? defaultCurrent.current.value.translate : _ref9$current$value$t;
|
|
537
|
+
var valueTranslateX = _ref9$current$value$t.x,
|
|
538
|
+
valueTranslateY = _ref9$current$value$t.y,
|
|
539
|
+
_ref9$current$value$s3 = _ref9$current$value.suffix;
|
|
540
|
+
_ref9$current$value$s3 = _ref9$current$value$s3 === void 0 ? defaultCurrent.current.value.suffix : _ref9$current$value$s3;
|
|
541
|
+
var _ref9$current$value$s4 = _ref9$current$value$s3.show,
|
|
542
|
+
showSuffix = _ref9$current$value$s4 === void 0 ? defaultCurrent.current.value.suffix.show : _ref9$current$value$s4,
|
|
543
|
+
_ref9$current$value$s5 = _ref9$current$value$s3.text,
|
|
544
|
+
text = _ref9$current$value$s5 === void 0 ? defaultCurrent.current.value.suffix.text : _ref9$current$value$s5,
|
|
545
|
+
_ref9$current$value$s6 = _ref9$current$value$s3.fontSize,
|
|
546
|
+
fontSize = _ref9$current$value$s6 === void 0 ? defaultCurrent.current.value.suffix.fontSize : _ref9$current$value$s6,
|
|
547
|
+
_ref9$current$value$s7 = _ref9$current$value$s3.translate;
|
|
548
|
+
_ref9$current$value$s7 = _ref9$current$value$s7 === void 0 ? defaultCurrent.current.value.suffix.translate : _ref9$current$value$s7;
|
|
549
|
+
var suffixTranslateX = _ref9$current$value$s7.x,
|
|
550
|
+
suffixTranslateY = _ref9$current$value$s7.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$chart = _ref10$chart === void 0 ? defaultBasePie.chart : _ref10$chart;
|
|
679
|
+
var _ref10$chart$innerRad = _ref10$chart.innerRadius,
|
|
680
|
+
innerRadius = _ref10$chart$innerRad === void 0 ? defaultBasePie.chart.innerRadius : _ref10$chart$innerRad,
|
|
681
|
+
_ref10$chart$outerRad = _ref10$chart.outerRadius,
|
|
682
|
+
outerRadius = _ref10$chart$outerRad === void 0 ? defaultBasePie.chart.outerRadius : _ref10$chart$outerRad,
|
|
683
|
+
_ref10$chart$padAngle = _ref10$chart.padAngle,
|
|
684
|
+
padAngle = _ref10$chart$padAngle === void 0 ? defaultBasePie.chart.padAngle : _ref10$chart$padAngle;
|
|
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$outerDecorate = _ref11$outerDecorate === void 0 ? defaultOuterDecorate.outerDecorate : _ref11$outerDecorate;
|
|
742
|
+
var _ref11$outerDecorate$ = _ref11$outerDecorate.color,
|
|
743
|
+
color = _ref11$outerDecorate$ === void 0 ? defaultOuterDecorate.outerDecorate.color : _ref11$outerDecorate$,
|
|
744
|
+
_ref11$outerDecorate$2 = _ref11$outerDecorate.width,
|
|
745
|
+
width = _ref11$outerDecorate$2 === void 0 ? defaultOuterDecorate.outerDecorate.width : _ref11$outerDecorate$2,
|
|
746
|
+
_ref11$outerDecorate$3 = _ref11$outerDecorate.tick;
|
|
747
|
+
_ref11$outerDecorate$3 = _ref11$outerDecorate$3 === void 0 ? defaultOuterDecorate.outerDecorate.tick : _ref11$outerDecorate$3;
|
|
748
|
+
var _ref11$outerDecorate$4 = _ref11$outerDecorate$3.show,
|
|
749
|
+
show = _ref11$outerDecorate$4 === void 0 ? defaultOuterDecorate.outerDecorate.tick.show : _ref11$outerDecorate$4,
|
|
750
|
+
_ref11$outerDecorate$5 = _ref11$outerDecorate$3.count,
|
|
751
|
+
count = _ref11$outerDecorate$5 === void 0 ? defaultOuterDecorate.outerDecorate.tick.count : _ref11$outerDecorate$5,
|
|
752
|
+
_ref11$outerDecorate$6 = _ref11$outerDecorate$3.color,
|
|
753
|
+
tickColor = _ref11$outerDecorate$6 === void 0 ? defaultOuterDecorate.outerDecorate.tick.color : _ref11$outerDecorate$6,
|
|
754
|
+
_ref11$outerDecorate$7 = _ref11$outerDecorate$3.width,
|
|
755
|
+
tickWidth = _ref11$outerDecorate$7 === void 0 ? defaultOuterDecorate.outerDecorate.tick.width : _ref11$outerDecorate$7,
|
|
756
|
+
_ref11$outerDecorate$8 = _ref11$outerDecorate$3.length,
|
|
757
|
+
length = _ref11$outerDecorate$8 === void 0 ? defaultOuterDecorate.outerDecorate.tick.length : _ref11$outerDecorate$8;
|
|
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$fan = _ref15$fan === void 0 ? defaultPie.fan : _ref15$fan;
|
|
920
|
+
var _ref15$fan$chart = _ref15$fan.chart;
|
|
921
|
+
_ref15$fan$chart = _ref15$fan$chart === void 0 ? defaultPie.fan.chart : _ref15$fan$chart;
|
|
922
|
+
var _ref15$fan$chart$oute = _ref15$fan$chart.outerRadius,
|
|
923
|
+
outerRadius = _ref15$fan$chart$oute === void 0 ? defaultPie.fan.chart.outerRadius : _ref15$fan$chart$oute,
|
|
924
|
+
_ref15$fan$chart$rose = _ref15$fan$chart.rose,
|
|
925
|
+
rose = _ref15$fan$chart$rose === void 0 ? defaultPie.fan.chart.rose : _ref15$fan$chart$rose,
|
|
926
|
+
_ref15$fan$chart$base = _ref15$fan$chart.baseRadius,
|
|
927
|
+
baseRadius = _ref15$fan$chart$base === void 0 ? defaultPie.fan.chart.baseRadius : _ref15$fan$chart$base,
|
|
928
|
+
_ref15$fan$angle = _ref15$fan.angle;
|
|
929
|
+
_ref15$fan$angle = _ref15$fan$angle === void 0 ? defaultPie.fan.angle : _ref15$fan$angle;
|
|
930
|
+
var _ref15$fan$angle$star = _ref15$fan$angle.startAngle,
|
|
931
|
+
startAngle = _ref15$fan$angle$star === void 0 ? defaultPie.fan.angle.startAngle : _ref15$fan$angle$star,
|
|
932
|
+
_ref15$fan$angle$endA = _ref15$fan$angle.endAngle,
|
|
933
|
+
endAngle = _ref15$fan$angle$endA === void 0 ? defaultPie.fan.angle.endAngle : _ref15$fan$angle$endA,
|
|
934
|
+
_ref15$fan$angle$anti = _ref15$fan$angle.antiClockwise,
|
|
935
|
+
antiClockwise = _ref15$fan$angle$anti === void 0 ? defaultPie.fan.angle.antiClockwise : _ref15$fan$angle$anti,
|
|
936
|
+
_ref15$fan$stroke = _ref15$fan.stroke;
|
|
937
|
+
_ref15$fan$stroke = _ref15$fan$stroke === void 0 ? defaultPie.fan.stroke : _ref15$fan$stroke;
|
|
938
|
+
var _ref15$fan$stroke$sho = _ref15$fan$stroke.show,
|
|
939
|
+
show = _ref15$fan$stroke$sho === void 0 ? defaultPie.fan.stroke.show : _ref15$fan$stroke$sho,
|
|
940
|
+
_ref15$fan$stroke$str = _ref15$fan$stroke.strokeWidth,
|
|
941
|
+
strokeWidth = _ref15$fan$stroke$str === void 0 ? defaultPie.fan.stroke.strokeWidth : _ref15$fan$stroke$str,
|
|
942
|
+
_ref15$fan$stroke$col = _ref15$fan$stroke.color,
|
|
943
|
+
color = _ref15$fan$stroke$col === void 0 ? defaultPie.fan.stroke.color : _ref15$fan$stroke$col;
|
|
944
944
|
return {
|
|
945
945
|
name: 'fan',
|
|
946
946
|
displayName: '饼图属性',
|