mrxy-yk 1.8.5 → 1.8.6
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.
|
@@ -29,7 +29,7 @@ var EcPieOption = class extends EcBasicOption {
|
|
|
29
29
|
lineHeight: 20,
|
|
30
30
|
opacity: .8
|
|
31
31
|
},
|
|
32
|
-
|
|
32
|
+
total: {
|
|
33
33
|
fontSize: 24,
|
|
34
34
|
fontWeight: "bold"
|
|
35
35
|
}
|
|
@@ -38,7 +38,7 @@ var EcPieOption = class extends EcBasicOption {
|
|
|
38
38
|
show: true,
|
|
39
39
|
position: "center",
|
|
40
40
|
formatter: (e) => {
|
|
41
|
-
let ret = `{
|
|
41
|
+
let ret = `{total|${this.centerLabelData}}`;
|
|
42
42
|
if (unit) ret += `\n{unit|${unit}}`;
|
|
43
43
|
if (name) ret += `\n{name|${name}}`;
|
|
44
44
|
return ret;
|