|
|
|
|
@ -1522,14 +1522,17 @@ const pieChartTwo = function (data, id, unit = '次') {
|
|
|
|
|
{
|
|
|
|
|
name: "访问来源",
|
|
|
|
|
type: "pie",
|
|
|
|
|
radius: "70%",
|
|
|
|
|
radius: "50%",
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
colorBy: 'data',
|
|
|
|
|
// color: ["rgb(131,249,103)", "#FBFE27", "#FE5050", "#1DB7E5"], //'#FBFE27','rgb(11,228,96)','#FE5050'
|
|
|
|
|
data: data,
|
|
|
|
|
roseType: "radius",
|
|
|
|
|
overflow:'break',
|
|
|
|
|
label: {
|
|
|
|
|
overflow:'break',
|
|
|
|
|
normal: {
|
|
|
|
|
overflow:'break',
|
|
|
|
|
formatter: `{b|{b}} \n {c|{c}${unit}}`,
|
|
|
|
|
rich: {
|
|
|
|
|
c: {
|
|
|
|
|
@ -1556,8 +1559,8 @@ const pieChartTwo = function (data, id, unit = '次') {
|
|
|
|
|
color: "rgb(98,137,169)",
|
|
|
|
|
},
|
|
|
|
|
smooth: true,
|
|
|
|
|
length: 20,
|
|
|
|
|
length2: 20,
|
|
|
|
|
length: 5,
|
|
|
|
|
length2: 5,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
|