|
@@ -223,10 +223,9 @@ export default {
|
|
minShowLabelAngle: optionsSetup.minShowLabelAngle,
|
|
minShowLabelAngle: optionsSetup.minShowLabelAngle,
|
|
percentPrecision: optionsSetup.percentPrecision,
|
|
percentPrecision: optionsSetup.percentPrecision,
|
|
// echarts v5.0.0开始支持
|
|
// echarts v5.0.0开始支持
|
|
- /* itemStyle: {
|
|
|
|
- borderRadius: [optionsSetup.borderRadius + "%", optionsSetup.borderRadius + "%"],
|
|
|
|
- },
|
|
|
|
- */
|
|
|
|
|
|
+ itemStyle: {
|
|
|
|
+ borderRadius: [optionsSetup.borderRadius + "%", optionsSetup.borderRadius + "%"],
|
|
|
|
+ },
|
|
// 高亮的扇区
|
|
// 高亮的扇区
|
|
emphasis: {
|
|
emphasis: {
|
|
label: {
|
|
label: {
|
|
@@ -243,7 +242,7 @@ export default {
|
|
},
|
|
},
|
|
// 色块描边
|
|
// 色块描边
|
|
itemStyle: {
|
|
itemStyle: {
|
|
- borderColor: optionsSetup.borderColor == '' ? null : optionsSetup.borderColor,
|
|
|
|
|
|
+ borderColor: optionsSetup.borderColor == '' ? "inherit" : optionsSetup.borderColor,
|
|
borderWidth: optionsSetup.borderWidth,
|
|
borderWidth: optionsSetup.borderWidth,
|
|
borderType: optionsSetup.borderType,
|
|
borderType: optionsSetup.borderType,
|
|
shadowBlur: optionsSetup.shadowBlur,
|
|
shadowBlur: optionsSetup.shadowBlur,
|
|
@@ -257,7 +256,7 @@ export default {
|
|
formatter: `{b}${numberValue}${percentage}`,
|
|
formatter: `{b}${numberValue}${percentage}`,
|
|
padding: optionsSetup.padding,
|
|
padding: optionsSetup.padding,
|
|
fontSize: optionsSetup.fontSize,
|
|
fontSize: optionsSetup.fontSize,
|
|
- color: optionsSetup.fontColor == '' ? null : optionsSetup.fontColor,
|
|
|
|
|
|
+ color: optionsSetup.fontColor == '' ? "inherit" : optionsSetup.fontColor,
|
|
fontWeight: optionsSetup.fontWeight,
|
|
fontWeight: optionsSetup.fontWeight,
|
|
fontStyle: optionsSetup.fontStyle,
|
|
fontStyle: optionsSetup.fontStyle,
|
|
fontFamily: optionsSetup.fontFamily,
|
|
fontFamily: optionsSetup.fontFamily,
|
|
@@ -312,10 +311,9 @@ export default {
|
|
minShowLabelAngle: optionsSetup.minShowLabelAngle,
|
|
minShowLabelAngle: optionsSetup.minShowLabelAngle,
|
|
percentPrecision: optionsSetup.percentPrecision,
|
|
percentPrecision: optionsSetup.percentPrecision,
|
|
// echarts v5.0.0开始支持
|
|
// echarts v5.0.0开始支持
|
|
- /* itemStyle: {
|
|
|
|
- borderRadius: [optionsSetup.borderRadius + "%", optionsSetup.borderRadius + "%"],
|
|
|
|
- },
|
|
|
|
- */
|
|
|
|
|
|
+ itemStyle: {
|
|
|
|
+ borderRadius: [optionsSetup.borderRadius + "%", optionsSetup.borderRadius + "%"],
|
|
|
|
+ },
|
|
// 高亮的扇区
|
|
// 高亮的扇区
|
|
emphasis: {
|
|
emphasis: {
|
|
label: {
|
|
label: {
|
|
@@ -332,7 +330,7 @@ export default {
|
|
},
|
|
},
|
|
// 色块描边
|
|
// 色块描边
|
|
itemStyle: {
|
|
itemStyle: {
|
|
- borderColor: optionsSetup.borderColor == '' ? null : optionsSetup.borderColor,
|
|
|
|
|
|
+ borderColor: optionsSetup.borderColor == '' ? "inherit" : optionsSetup.borderColor,
|
|
borderWidth: optionsSetup.borderWidth,
|
|
borderWidth: optionsSetup.borderWidth,
|
|
borderType: optionsSetup.borderType,
|
|
borderType: optionsSetup.borderType,
|
|
shadowBlur: optionsSetup.shadowBlur,
|
|
shadowBlur: optionsSetup.shadowBlur,
|
|
@@ -346,7 +344,7 @@ export default {
|
|
formatter: `{b}${numberValue}${percentage}`,
|
|
formatter: `{b}${numberValue}${percentage}`,
|
|
padding: optionsSetup.padding,
|
|
padding: optionsSetup.padding,
|
|
fontSize: optionsSetup.fontSize,
|
|
fontSize: optionsSetup.fontSize,
|
|
- color: optionsSetup.fontColor == '' ? null : optionsSetup.fontColor,
|
|
|
|
|
|
+ color: optionsSetup.fontColor == '' ? "inherit" : optionsSetup.fontColor,
|
|
fontWeight: optionsSetup.fontWeight,
|
|
fontWeight: optionsSetup.fontWeight,
|
|
fontStyle: optionsSetup.fontStyle,
|
|
fontStyle: optionsSetup.fontStyle,
|
|
fontFamily: optionsSetup.fontFamily,
|
|
fontFamily: optionsSetup.fontFamily,
|