あなたの知らないechats

1640 ワード

散点図
option = {
      grid: {
        top: 4, //        
        left: 2, //        
        bottom: 10,
        right: 10,
        containLabel: true
    },
    // X    
    xAxis: {
      axisLine:{
        lineStyle:{
          color:'#00FFF5' //      
        }
      }
    },
    //      
    color: ['#7460ee', '#66cd2e'],
    // Y    
    yAxis: {
      axisLine:{
        lineStyle:{
          color:'#00FFF5' //      
        }
      }
    },
    //     ,            ,             
    series: [
        {
            name: '    ',
            type: 'scatter',
            //        hover        
            hoverAnimation: false,
            symbolSize: 20,
            data: [
                [10.0, 8.04],
                [8.0, 3.95],
                [13.0, 6.58],
                [9.0, 8.81],
                [11.0, 8.33],
                [14.0, 9.96],
                [6.0, 7.24],
                [4.0, 4.26],
                [12.0, 10.84],
                [7.0, 4.82],
                [5.0, 5.68]
            ],
        },
        {
            name: '    ',
            type: 'scatter',
            //        hover        
            hoverAnimation: false,
            data: [
                [4.0, 8.04],
                [5.0, 6.95],
                [3.0, 6.58],
                [6.0, 8.81],
                [5.0, 8.33],
                [14.0, 9.96],
                [6.0, 7.24],
                [4.0, 4.26],
                [12.0, 10.84],
                [7.0, 4.82],
                [5.0, 5.68]
            ],
        }
      ]
    }