1.案例1
1.1代码
option = {xAxis: {scale: true,splitLine: {show: false},axisLabel: {show: true,textStyle: {color: 'white', //更改坐标轴文字颜色}}},yAxis: {show:false,scale: true,splitLine: {show: true,lineStyle: {type: 'dashed',}},axisLabel: {show: true ,textStyle: {color: 'white', //更改坐标轴文字颜色}}},grid: {top: '10%',left: '0',right: '5%',bottom: '17%',containLabel: true},tooltip: { // 添加tooltip配置项trigger: 'axis', // 触发类型设为坐标轴触发axisPointer: {type: 'cross' // 设置指示器类型}},series: [{type: 'effectScatter',symbolSize:5,data: []},{type: 'scatter