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

哆啦A梦_i

暂无认证

  • 0浏览

    0关注

    629博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

Echarts:【2019全国职业技能大赛大数据技术】任务四-可视化:2-为各省份酒店综合情况(多线雷达图)

哆啦A梦_i 发布时间:2020-11-10 10:00:00 ,浏览量:0

赛题:

(后期更新)

知识点笔记:

 textStyle: {             color: 'red', //设置字体颜色             fontStyle:'italic', //设置斜体             fontWeight:'bolder' ///设置字体加粗(粗体)         },         left: 'center', // 显示居中         top: 'top', //显示在图表上边(默认)// bottm:显示在图表下边

option = {
    title: {
        text: '为各省份酒店综合情况',
        textStyle: {
            color: 'red',
            fontStyle:'italic',
            fontWeight:'bolder'
        },
        left: 'center',
        top: 'top',
    },
    tooltip: {},
    legend: {
        data: ['上海', '北京', '广东','四川','海南'],
        top:'bottom'
    },
    radar: {
        // shape: 'circle',
        name: {
            textStyle: {
                color: '#fff',
                backgroundColor: '#999',
                borderRadius: 3,
                padding: [3, 5]
            }
        },
        indicator: [
            { name: '四星/五星酒店的数量', max: 2200},
            { name: '平均评分', max: 4.58},
            { name: '评论数', max: 193582},
            { name: '直销拒单率', max: 0.5},
            { name: '各省酒店出租率', max: 0.8}
        ]
    },
    series: [{
        type: 'radar',
        // areaStyle: {normal: {}},
        data: [
            {
                value: [1000,4.58,100000,0.5,0.8],
                name: '上海'
            },
            {
                value: [1200,4.45,23582,0.4,0.75],
                name: '北京'
            },
            {
                value: [1100,4.38,100000,0.45,0.89],
                name: '四川'
            },
            {
                value: [2200,4.05,193582,0.48,0.65],
                name: '广东'
            },
            {
                value: [1800,4.5,170000,0.35,0.68],
                name: '海南'
            }
        ]
    }]
};

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

微信扫码登录

0.0414s