1.对颜色的区分
visualMap: [ { top: 20, left: 0, right: null, // 设置文本为红色 textStyle: { color: ‘yellow‘ }, selectedMode: false, dimension: 3, categories: [‘已建‘, ‘在建‘, ‘拟建‘], inRange: { color: [‘#62f962‘, ‘yellow‘, ‘red‘] }, outOfRange: { color: ‘orange‘, } } ],