4.3
This commit is contained in:
@@ -36,11 +36,11 @@
|
||||
const center = ['50%', '34%']
|
||||
params = {
|
||||
legend: {
|
||||
x: 'center',
|
||||
x: 'left',
|
||||
y: 'bottom',
|
||||
itemHeight: fitChartSize(8),
|
||||
itemWidth: fitChartSize(8),
|
||||
itemGap: fitChartSize(14),
|
||||
itemHeight: fitChartSize(5),
|
||||
itemWidth: fitChartSize(5),
|
||||
itemGap: fitChartSize(8),
|
||||
formatter: function (name) {
|
||||
let obj = props.list.find((item) => item.name == name)
|
||||
return '{name|' + name + '} {value|' + obj.value + '}{value|%}'
|
||||
@@ -49,11 +49,11 @@
|
||||
rich: {
|
||||
name: {
|
||||
color: '#fff',
|
||||
fontSize: fitChartSize(14)
|
||||
fontSize: fitChartSize(12)
|
||||
},
|
||||
value: {
|
||||
color: '#00D5F6',
|
||||
fontSize: fitChartSize(14)
|
||||
fontSize: fitChartSize(12)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user