Toggle navigation
图片处理业务交互图
By
心***现
2020-09-01 09:39:50
脚本
16
21
作品使用的第三方脚本
数据管理
上传数据
支持小于 5M 任意格式(csv, xlsx, json, xml, ...)的数据文件
上传后可以通过生成的文件链接异步获取托管的数据。
历史数据
0 条
无历史数据
代码修改记录
信息提示
保存作品
对当前截图不满意?你还可以
上传本地截图
重新截图
作品名称
作品描述
标签
geo
grid
legend
markLine
markPoint
bar
effectScatter
line
lines
map
timeline
title
toolbox
tooltip
visualMap
作品默认版本
最新
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
20:11:45
图表已生成
整理代码
刷新
代码
option = { title: { text: '图片处理业务交互图', }, color:['#000000','#ff0000'], legend: { show: true, top: 5, data: [ { name:'状态', icon:'rect' }, { name:'接口', icon:'circle' }], icon: "circle", selected: { '接口': true } }, /*graphic:[ { type:'rect', shape:{ x:220, y:150, width:120, height:40 }, style:{ fill:'rgba(0,0,0,0)', stroke:'#ff0033', lineWidth:1 } } ],*/ series: [{ type: 'graph', /*layout:'force',*/ focusNodeAdjacency: true, roam: true, /*force: { repulsion: 100 },*/ edgeSymbol: ['circle', 'arrow'], edgeLabel: { normal: { show: true, formatter: "{c}" } }, categories:[{name:'状态'},{name:'接口'}], data: [{ name: '待售房源', x: 0, y: -600, value: '待售房源', symbol: 'path://M 318 135 L 268 135 L 243 92 L 268 49 L 317 48 L 342 91 Z', symbolSize: [120, 40], symbolOffset: [0, 0], itemStyle: { normal: { color: 'rgba(0,0,0,0)', borderColor: '#333', borderWidth: 2 } }, label: { show: true, color: '#000' } }, { name: '上传图片', x: 0, y: -300, value: '上传图片', symbol: 'rect', symbolSize: [100, 40], symbolOffset: [0, 0], itemStyle: { normal: { color: 'rgba(0,0,0,0)', borderColor: '#333', borderWidth: 2, } }, label: { show: true, color: '#000' } }, { name: '图片状态', x: 0, y: 0, value: '图片状态', category:0, symbolSize: [100, 40], itemStyle: { normal: { color: 'rgba(0,0,0,0)', borderColor: '#333', borderWidth: 2 } }, label: { show: true, color: '#000' }, symbol: 'circle', }, { name: '楼盘字典', x: -300, y: -300, value: '楼盘字典', category:1, symbol: 'rect', symbolSize: [120, 40], itemStyle: { normal: { color: 'rgba(0,0,0,0)', borderColor: '#333', borderWidth: 2 } }, label: { show: true, color: '#000' } } ], links: [{ source: '待售房源', target: '上传图片', value: '包含', lineStyle: { color: '#000', width: 1, type: 'solid' } }, { source: '上传图片', target: '图片状态', value: '更新', category:0, lineStyle: { color: '#000', width: 1, type: 'dashed' }, symbol: ['circle', 'arrow'], symbolSize: [10, 10] }, { source: '上传图片', target: '楼盘字典', value: '同步', category:1, lineStyle: { color: '#ff0000', width: 1, type: 'dotted' } } ] }] };