Toggle navigation
现居地为新会区(会城街道),有意愿购房比例
By
小***5
2018-04-20 07:44:40
脚本
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
图表已生成
整理代码
刷新
代码
var uploadedDataURL = "/asset/get/s/data-1577929263585-7iWLUl9L.json"; $.get(uploadedDataURL, function (geoJson) { myChart.hideLoading(); echarts.registerMap('江门市', geoJson); var allData = { "citys":[ {"name":"肇庆市","value":[112.202505446,23.5402929609],"symbolSize":2,"itemStyle":{"normal":{"color":"#F58158"}}}, {"name":"佛山市","value":[112.943591829,23.0124787236],"symbolSize":10,"itemStyle":{"normal":{"color":"#F58158"}}}, {"name":"广州市","value":[113.535632255,23.3480142139],"symbolSize":20,"itemStyle":{"normal":{"color":"#F58158"}}}, {"name":"深圳市","value":[114.133979873,22.6578881941],"symbolSize":16,"itemStyle":{"normal":{"color":"#F58158"}}}, {"name":"中山市","value":[113.378541178,22.5212390768],"symbolSize":6,"itemStyle":{"normal":{"color":"#F58158"}}}, {"name":"江门市","value":[112.670232328,22.2849956517],"symbolSize":2,"itemStyle":{"normal":{"color":"#F58158"}}}, {"name":"珠海市","value":[113.359346020,22.1755210066],"symbolSize":5,"itemStyle":{"normal":{"color":"#F58158"}}}, {"name":"东莞市","value":[113.875271234,22.9359894759],"symbolSize":15,"itemStyle":{"normal":{"color":"#F58158"}}}, {"name":"惠州市","value":[114.497460348,23.2438307900],"symbolSize":8,"itemStyle":{"normal":{"color":"#F58158"}}}, ], "moveLines":[ {"coords":[[112.943591829,23.0124787236],[113.535632255,23.3480142139]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:18 ,opacity:0.6,curveness: 0.2}}}, {"coords":[[114.133979873,22.6578881941],[113.875271234,22.9359894759]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:12 ,opacity:0.6,curveness: 0.2}}}, {"coords":[[113.875271234,22.9359894759],[114.133979873,22.6578881941]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:12 ,opacity:0.6,curveness: 0.2}}}, {"coords":[[113.535632255,23.3480142139],[112.943591829,23.0124787236]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:9 ,opacity:0.4,curveness: 0.2}}}, {"coords":[[114.497460348,23.2438307900],[114.133979873,22.6578881941]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:8 ,opacity:0.4,curveness: 0.2}}}, {"coords":[[113.378541178,22.5212390768],[113.359346020,22.1755210066]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:7 ,opacity:0.4,curveness: 0.2}}}, {"coords":[[113.875271234,22.9359894759],[113.535632255,23.3480142139]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:6 ,opacity:0.4,curveness: 0.2}}}, {"coords":[[113.535632255,23.3480142139],[113.875271234,22.9359894759]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:6 ,opacity:0.4,curveness: 0.2}}}, {"coords":[[114.133979873,22.6578881941],[113.535632255,23.3480142139]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:5 ,opacity:0.4,curveness: 0.2}}}, {"coords":[[114.133979873,22.6578881941],[114.497460348,23.2438307900]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:5 ,opacity:0.4,curveness: 0.2}}}, {"coords":[[114.497460348,23.2438307900],[113.875271234,22.9359894759]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:5 ,opacity:0.4,curveness: 0.2}}}, {"coords":[[113.535632255,23.3480142139],[114.133979873,22.6578881941]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:4 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[113.875271234,22.9359894759],[114.497460348,23.2438307900]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:3 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[112.943591829,23.0124787236],[113.378541178,22.5212390768]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:3 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[114.497460348,23.2438307900],[113.535632255,23.3480142139]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:3 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[112.202505446,23.5402929609],[112.943591829,23.0124787236]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:2 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[112.943591829,23.0124787236],[112.202505446,23.5402929609]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:2 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[113.359346020,22.1755210066],[113.378541178,22.5212390768]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:2 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[113.378541178,22.5212390768],[112.943591829,23.0124787236]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:2 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[113.378541178,22.5212390768],[113.535632255,23.3480142139]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:2 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[112.202505446,23.5402929609],[113.535632255,23.3480142139]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:2 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[112.670232328,22.2849956517],[113.535632255,23.3480142139]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:2 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[113.535632255,23.3480142139],[114.497460348,23.2438307900]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:2 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[112.670232328,22.2849956517],[113.378541178,22.5212390768]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:2 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[113.535632255,23.3480142139],[113.378541178,22.5212390768]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:2 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[113.535632255,23.3480142139],[112.202505446,23.5402929609]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:2 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[112.943591829,23.0124787236],[113.875271234,22.9359894759]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:1 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[113.875271234,22.9359894759],[112.943591829,23.0124787236]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:1 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[113.535632255,23.3480142139],[112.670232328,22.2849956517]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:1 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[113.378541178,22.5212390768],[112.670232328,22.2849956517]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:1 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[114.133979873,22.6578881941],[112.943591829,23.0124787236]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:1 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[112.943591829,23.0124787236],[114.133979873,22.6578881941]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:1 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[112.943591829,23.0124787236],[112.670232328,22.2849956517]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:1 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[113.535632255,23.3480142139],[113.359346020,22.1755210066]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:1 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[112.670232328,22.2849956517],[112.943591829,23.0124787236]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:1 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[113.359346020,22.1755210066],[113.535632255,23.3480142139]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:1 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[114.133979873,22.6578881941],[113.378541178,22.5212390768]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:1 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[113.875271234,22.9359894759],[113.378541178,22.5212390768]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:1 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[113.378541178,22.5212390768],[114.133979873,22.6578881941]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:1 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[113.378541178,22.5212390768],[113.875271234,22.9359894759]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:1 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[114.133979873,22.6578881941],[113.359346020,22.1755210066]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:1 ,opacity:0.2,curveness: 0.2}}}, {"coords":[[113.359346020,22.1755210066],[114.133979873,22.6578881941]], lineStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0, color: '#58B3CC'}, {offset: 1, color: '#F58158'}], false),width:1 ,opacity:0.2,curveness: 0.2}}}, ] }; option = { backgroundColor: '#404a59', title: { text: '', left: 'center', textStyle: { color: '#fff' } }, legend: { show: false, orient: 'vertical', top: 'auto', left: 'right', data: ['地点', '线路'], textStyle: { color: '#fff' } }, geo: { map: '江门市', label: { //normal:{ //show: true, //textStyle:{ //color:'#fff', //} //}, emphasis: { show: false, textStyle:{ color:'#fff', } } }, roam: true, itemStyle: { normal: { areaColor: '#2a333d', borderColor: '#404a59', borderWidth:1, }, emphasis: { areaColor: '#2a333d' } } }, series: [{ name: '地点', type: 'effectScatter', coordinateSystem: 'geo', zlevel: 2, rippleEffect: { brushType: 'stroke', period:7, scale:10 }, label: { normal: { show : true, position:'right', formatter:'{b}' }, emphasis: { show: true, position: 'right', formatter: '{b}' } }, symbolSize: 2, showEffectOn: 'render', itemStyle: { normal: { color: '#46bee9' } }, data: allData.citys }, { name: '线路', type: 'lines', coordinateSystem: 'geo', zlevel: 1, large: true, effect: { show: true, constantSpeed: 50, symbol: 'arrow',//ECharts 提供的标记类型包括 'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow' symbolSize: 3, trailLength: 0, }, data: allData.moveLines }] }; myChart.setOption(option); });