调整完毕

This commit is contained in:
aixianling
2024-04-18 19:17:17 +08:00
parent f3e1580fef
commit a20fcb413a
6 changed files with 188 additions and 170 deletions

View File

@@ -0,0 +1,31 @@
import tools from "./tools";
const color = ["#18FEFE", "#1890FF"]
export const graphChart1 = {
grid: {
left: 50, right: 0
},
xAxis: {show: false},
yAxis: {show: false},
tooltip: {},
color,
daemon: {
type: 'graph',
layout: 'force',
label: {
show: true, position: 'inside',
}, symbol: 'circle', dataRender: (row, i) => ({
...row,
symbolSize: Math.max(4, 256 * parseFloat(row.纠纷占比) / 100),
value: row.纠纷占比,
itemStyle: {
borderColor: color[i % 2],
borderWidth: 1,
color: tools.$colorUtils.Hex2RGBA(color[i % 2], .5),
}
}),
}
}
export default {
graphChart1
}