您当前的位置: 首页 >  大数据

哆啦A梦_i

暂无认证

  • 2浏览

    0关注

    629博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

Echarts:【2019全国职业技能大赛大数据技术】任务四-可视化:1-指定地区的酒店出租率(折线图)

哆啦A梦_i 发布时间:2020-11-10 09:47:22 ,浏览量:2

赛题:

(后期更新)

知识点笔记:

fontStyle:'italic', //设置斜体

normal: {                 show: true,  //显示值                 position: 'top' //显示在线上             },

option = {
    title:{
      text:'指定地区的酒店出租率',
      textStyle:{
          fontStyle:'italic',
          color:'red'
      },
      left:'center'
    },
    xAxis: {
        name:'区域',
        type: 'category',
        data: ['华东地区', '华南地区', '华中地区', '华北地区', '西北地区', '西南地区', '东北地区']
    },
    yAxis: {
        name:'出租率',
        type: 'value',
    },
    series: [{
        data: [0.500001, 0.507700, 0.620020, 0.111111, 0.285714, 0.200078,0.000000],
        type: 'line',
        label: {
            normal: {
                show: true,
                position: 'top'
            },
        },
    }]
};

关注
打赏
1556978864
查看更多评论
立即登录/注册

微信扫码登录

0.0407s