echarts实现日照图表效果代码

代码语言:html

所属分类:图表

代码描述:echarts实现日照图表效果代码

代码标签: echarts 日照 图表

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

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
 <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/normalize.css">
    <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800" rel="stylesheet">
</head>

<body>
    <!-- partial:index.partial.html -->

    <div id="sunburst" style="height:800px;border:1px solid #ccc;padding:10px;"></div>
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/echarts.js"></script>
    <script >
        var myChart = echarts.init(document.getElementById('sunburst'));

var data = [
{
  name: "Grandpa",
  children: [
  {
    name: "Uncle Leo",
    v.........完整代码请登录后点击上方下载按钮下载查看

网友评论0