echart实现手机端折线图饼状图统计图表效果代码

代码语言:html

所属分类:布局界面

代码描述:echart实现手机端折线图饼状图统计图表效果代码

代码标签: 端折 线图 饼状 统计 图表 效果

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

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title></title>
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <style>
        * {
            margin: 0;
            padding: 0;
            border: 0;
            list-style: none;
            text-decoration: none;
            color: inherit;
            font-weight: normal;
            font-family: "微软雅黑";
            box-sizing: border-box;
            font-style: normal;
            outline: none;
        }
        body {
            width: 100%;
            overflow-x: hidden;
            background: #0f113a;
            background-size: 100%;
        }
        img {
            vertical-align: middle;
            max-width: 100%;
        }
        a:hover,a:active,a:visited,a:link,a:focus {
            -webkit-tap-highlight-color: transparent;
            outline: none;
            text-decoration: none;
        }
        /*顶部标题 更多*/
        .top {
            position: absolute;
            top: .15rem;
            left: 0;
            height: .9rem;
            line-height: .9rem;
            width: 100%;
            text-align: center;
            font-size: .36rem;
            color: #FFFFFF;
        }
        .top i {
            background: url(../images/icon-left.png) center left no-repeat;
            position: absolute;
            top: 0;
            left: .2rem;
            height: 100%;
            display: inline-block;
            background-size: .36rem .25rem;
            width: .5rem;
            height: 100%;
        }
        /*图表*/
        .chart {
            width: 100%;
            padding: 0 .2rem;
        }
        .chart.one {
            height: 5.1rem;
            margin-bottom: .35rem;
            margin-top: 1.4rem;
        }
        .chart.two {
            height: 5.5rem;
        }
        #chartOne,#chartTwo {
            width: 100%;
            height: 100%;
            background: #0e1233;
            padding: .4rem .3rem;
      .........完整代码请登录后点击上方下载按钮下载查看

网友评论0