美化
This commit is contained in:
@@ -147,7 +147,7 @@ export const getDeviceStatOption = (deviceTypes) => {
|
||||
series: [
|
||||
{
|
||||
type: 'pie',
|
||||
radius: ['45%', '70%'],
|
||||
radius: ['42%', '68%'],
|
||||
center: ['50%', '50%'],
|
||||
avoidLabelOverlap: false,
|
||||
itemStyle: pieItemStyle,
|
||||
@@ -155,7 +155,7 @@ export const getDeviceStatOption = (deviceTypes) => {
|
||||
show: true,
|
||||
position: 'center',
|
||||
formatter: `{total|${total}}\n{name|设备总数}`,
|
||||
rich: createCenterLabelRich(18, 12)
|
||||
rich: createCenterLabelRich(16, 10)
|
||||
},
|
||||
labelLine: {
|
||||
show: false
|
||||
|
||||
Reference in New Issue
Block a user