飞线和柱图同时存在时,飞线目的地点是成都,可是飞线中途被截断了
配置项如下
option = {
"backgroundColor": "rgba(0,0,0,0)",
"title": {
"show": false,
"text": "3D地图"
},
"visualMap": {
"show": true,
"min": 18126743,
"max": 1571210,
"itemWidth": 10,
"itemHeight": 50,
"inRange": {
"color": ["#356de3", "#0443c8", "#001b53"]
},
"textStyle": {
"fontSize": "12",
"color": "#91bbd4"
},
"text": ["高", "低"],
"calculable": true,
"left": "left",
"top": "bottom"
},
"geo3D": {
"map": "china",
"roam": true,
"boxWidth": 100,
"boxHeight": "8",
"regionHeight": 2,
"itemStyle": {
"color": "rgb(5,101,123)",
"areaColor": "rgb(5,101,123)",
"opacity": 1,
"borderWidth": 0.8,
"borderColor": "rgb(62,215,213)"
},
"groundPlane": {
"show": true,
"color": "rgba(0,0,0,0)"
},
"instancing": false,
"label": {
"show": false,
"distance": 0,
"textStyle": {
"color": "#bfe0ff",
"fontFamily": "微软雅黑",
"fontSize": "12",
"fontStyle": "normal",
"fontWeight": "normal",
"backgroundColor": "rgba(0,0,0,0)"
}
},
"emphasis": {},
"light": {
"main": {
"shadow": false
}
},
"viewControl": {
"alpha": 35,
"distance": 80,
"rotateSensitivity": 0,
"autoRotate": false,
"autoRotateDirection": "cw",
"autoRotateSpeed": 10,
"zoomSensitivity": 0,
"panSensitivity": 0,
"panMouseButton": "right"
}
},
"series": [{
"type": "lines3D",
"coordinateSystem": "geo3D",
"effect": {
"show": true,
"trailWidth": 4,
"trailOpacity": 0.5,
"trailLength": 0.3,
"trailColor": "#00ff00"
},
"blendMode": "lighter",
"lineStyle": {
"color": "#56eaea",
"width": 1,
"opacity": 0.5
},
"data": [
[
["101.48", "36.38"],
["104.04000000000001", "30.399999999999999"]
],
[
["125.19", "43.539999999999999"],
["104.04000000000001", "30.399999999999999"]
],
[
["106.16", "38.270000000000003"],
["104.04000000000001", "30.399999999999999"]
],
[
["111.41", "40.479999999999997"],
["104.04000000000001", "30.399999999999999"]
],
[
["91.079999999999998", "29.390000000000001"],
["104.04000000000001", "30.399999999999999"]
],
[
["103.51000000000001", "36.039999999999999"],
["104.04000000000001", "30.399999999999999"]
],
[
["102.42", "25.039999999999999"],
["104.04000000000001", "30.399999999999999"]
],
[
["123.25", "41.479999999999997"],
["104.04000000000001", "30.399999999999999"]
],
[
["106.33", "29.350000000000001"],
["104.04000000000001", "30.399999999999999"]
],
[
["117.17", "31.52"],
["104.04000000000001", "30.399999999999999"]
],
[
["117.12", "39.020000000000003"],
["104.04000000000001", "30.399999999999999"]
],
[
["114.3", "38.020000000000003"],
["104.04000000000001", "30.399999999999999"]
],
[
["114.17", "30.350000000000001"],
["104.04000000000001", "30.399999999999999"]
],
[
["120.09999999999999", "30.16"],
["104.04000000000001", "30.399999999999999"]
],
[
["113.40000000000001", "34.460000000000001"],
["104.04000000000001", "30.399999999999999"]
],
[
["121.29000000000001", "31.140000000000001"],
["104.04000000000001", "30.399999999999999"]
],
[
["106.42", "26.350000000000001"],
["104.04000000000001", "30.399999999999999"]
],
[
["113.14", "23.079999999999998"],
["104.04000000000001", "30.399999999999999"]
],
[
["110.2", "20.02"],
["104.04000000000001", "30.399999999999999"]
],
[
["112.33", "37.539999999999999"],
["104.04000000000001", "30.399999999999999"]
],
[
["126.36", "45.439999999999998"],
["104.04000000000001", "30.399999999999999"]
],
[
["117", "36.399999999999999"],
["104.04000000000001", "30.399999999999999"]
],
[
["119.18000000000001", "26.050000000000001"],
["104.04000000000001", "30.399999999999999"]
],
[
["108.56999999999999", "34.170000000000002"],
["104.04000000000001", "30.399999999999999"]
]
]
}, {
"name": "利润",
"type": "bar3D",
"coordinateSystem": "geo3D",
"data": [{
"name": "西宁",
"value": ["101.48", "36.38", 1571210],
}, {
"name": "长春",
"value": ["125.19", "43.539999999999999", 2244607],
}, {
"name": "银川",
"value": ["106.16", "38.270000000000003", 10653743],
}, {
"name": "呼和浩特",
"value": ["111.41", "40.479999999999997", 11070774],
}, {
"name": "拉萨",
"value": ["91.079999999999998", "29.390000000000001", 11229238],
}, {
"name": "兰州",
"value": ["103.51000000000001", "36.039999999999999", 12134074],
}, {
"name": "昆明",
"value": ["102.42", "25.039999999999999", 14288852],
}, {
"name": "沈阳",
"value": ["123.25", "41.479999999999997", 14304772],
}, {
"name": "重庆",
"value": ["106.33", "29.350000000000001", 14477227],
}, {
"name": "合肥",
"value": ["117.17", "31.52", 15031743],
}, {
"name": "天津",
"value": ["117.12", "39.020000000000003", 15114215],
}, {
"name": "石家庄",
"value": ["114.3", "38.020000000000003", 15192912],
}, {
"name": "武汉",
"value": ["114.17", "30.350000000000001", 15265727],
}, {
"name": "杭州",
"value": ["120.09999999999999", "30.16", 15478932],
}, {
"name": "郑州",
"value": ["113.40000000000001", "34.460000000000001", 15749368],
}, {
"name": "上海",
"value": ["121.29000000000001", "31.140000000000001", 15791392],
}]
}],
}