echarts实现雷达图效果代码

代码语言:html

所属分类:图表

代码描述:echarts实现雷达图效果代码

代码标签: echarts 雷达图

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html style="height: 100%">

<head>
    <meta charset="utf-8">
</head>

<body style="height: 100%; margin: 0">
    <div id="container" style="height: 100%"></div>
    <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/echarts.js"></script>
    <script type="text/javascript">
        var dom =document.getElementById("container");var myChart =echarts.init(dom);var app ={};option =null;option ={title:{text:'浏览器占比变化',subtext:'纯属虚构',top:10,left:10
        },tooltip:{trigger:'item',backgroundColor:'rgba(0,0,250,0.2)'
        },legend:{type:'scroll',bottom:10,data:(function () {var list =[];for (var i =1;i <=28;i++) {list.push(i + 2000 + '');}
        return list;})()
        },visualMap.........完整代码请登录后点击上方下载按钮下载查看

网友评论0