Browse Source

饼状图引导线调整

feature
jiangyy 4 years ago
parent
commit
fd5da005d0
  1. 8
      src/views/modules/visual/communityGovern/typePieOption.js

8
src/views/modules/visual/communityGovern/typePieOption.js

@ -77,7 +77,7 @@ const center= ['50%', '250px']
// height: '80%', // height: '80%',
selectedMode: 'single', selectedMode: 'single',
left: 'center', left: 'center',
width: 400, width: 480,
label: { label: {
// show: false, // show: false,
position: 'outside', position: 'outside',
@ -88,14 +88,14 @@ const center= ['50%', '250px']
edgeDistance: 1, edgeDistance: 1,
lineHeight: 15, lineHeight: 15,
color: '#fff', color: '#fff',
fontSize: 12, fontSize: 10,
// distanceToLabelLine: -60, // distanceToLabelLine: -60,
rich: { rich: {
name: { name: {
padding: [0, 6, 0, 6] padding: [0, 6, 0, 6]
}, },
a: { a: {
fontSize: 30, fontSize: 25,
color: '#fff', color: '#fff',
padding: [0, 6, 6, 6] padding: [0, 6, 6, 6]
}, },
@ -111,7 +111,7 @@ const center= ['50%', '250px']
labelLine: { labelLine: {
show: false, show: false,
smooth: 0.2, smooth: 0.2,
length: 30, length: 50,
length2: 0, length2: 0,
maxSurfaceAngle: 80 maxSurfaceAngle: 80
}, },

Loading…
Cancel
Save