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