This commit is contained in:
caicai8 2019-12-24 17:27:04 +08:00
parent 636dc67cd9
commit 1ccc1f0717
1 changed files with 3 additions and 3 deletions

View File

@ -557,9 +557,9 @@ function InitMap(currentOption){
geo: { geo: {
map: 'china', map: 'china',
left: '140', left: '140',
right: '10%', right: '15%',
center: [99.98561551896913, 33.205000490896193], center: [99.98561551896913, 33.205000490896193],
zoom: 0.6, zoom:0.8,
label: { label: {
emphasis: { emphasis: {
show: false show: false
@ -703,7 +703,7 @@ function InitMap(currentOption){
}; };
const container = document.querySelector('#maps'); const container = document.querySelector('#maps');
var myChart = echarts.init(container); var myChart = echarts.init(container);
myChart.clear();
myChart.setOption(option,true); myChart.setOption(option,true);
myChart.on('brushselected', renderBrushed); myChart.on('brushselected', renderBrushed);
// myChart.on('focusnodeadjacency', renderFocusNodeJacency); // myChart.on('focusnodeadjacency', renderFocusNodeJacency);