fix: 修复未按新版本echarts的emphasis写法导致的报警问题
This commit is contained in:
@@ -304,8 +304,8 @@ export default {
|
|||||||
symbolSize: function (value) {
|
symbolSize: function (value) {
|
||||||
return _this.symbolSizeSortChange(i, value[0])
|
return _this.symbolSizeSortChange(i, value[0])
|
||||||
},
|
},
|
||||||
itemStyle: {
|
emphasis: {
|
||||||
emphasis: {
|
itemStyle: {
|
||||||
borderColor: chartColor4[t.positioning],
|
borderColor: chartColor4[t.positioning],
|
||||||
borderWidth: 2,
|
borderWidth: 2,
|
||||||
shadowColor: chartColor4[t.positioning],
|
shadowColor: chartColor4[t.positioning],
|
||||||
|
|||||||
@@ -312,8 +312,8 @@ export default {
|
|||||||
symbolSize: function (value) {
|
symbolSize: function (value) {
|
||||||
return _this.symbolSizeSortChange(i, value[0])
|
return _this.symbolSizeSortChange(i, value[0])
|
||||||
},
|
},
|
||||||
itemStyle: {
|
emphasis: {
|
||||||
emphasis: {
|
itemStyle: {
|
||||||
borderColor: chartColor4[t.positioning],
|
borderColor: chartColor4[t.positioning],
|
||||||
borderWidth: 2,
|
borderWidth: 2,
|
||||||
shadowColor: chartColor4[t.positioning],
|
shadowColor: chartColor4[t.positioning],
|
||||||
|
|||||||
@@ -406,8 +406,8 @@ export default {
|
|||||||
symbolSize: function (value) {
|
symbolSize: function (value) {
|
||||||
return _this.symbolSizeSortChange(i, value[0])
|
return _this.symbolSizeSortChange(i, value[0])
|
||||||
},
|
},
|
||||||
itemStyle: {
|
emphasis: {
|
||||||
emphasis: {
|
itemStyle: {
|
||||||
borderColor: chartColor4[t.positioning],
|
borderColor: chartColor4[t.positioning],
|
||||||
borderWidth: 2,
|
borderWidth: 2,
|
||||||
shadowColor: chartColor4[t.positioning],
|
shadowColor: chartColor4[t.positioning],
|
||||||
|
|||||||
@@ -207,8 +207,8 @@ export const pieForSeverity = {
|
|||||||
return `${param.name}: ${param.value}`
|
return `${param.name}: ${param.value}`
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
emphasis: {
|
itemStyle: {
|
||||||
itemStyle: {
|
emphasis: {
|
||||||
shadowBlur: 10,
|
shadowBlur: 10,
|
||||||
shadowOffsetX: 0,
|
shadowOffsetX: 0,
|
||||||
shadowColor: 'rgba(0, 0, 0, 0.5)'
|
shadowColor: 'rgba(0, 0, 0, 0.5)'
|
||||||
|
|||||||
Reference in New Issue
Block a user