3 Star 0 Fork 0

coding/task01-echart-demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.html 23.57 KB
一键复制 编辑 原始数据 按行查看 历史
giscafer 提交于 2017-10-26 23:03 . echarts demo
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Director | Dashboard</title>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<meta name="description" content="Developed By M Abdur Rokib Promy">
<meta name="keywords" content="Admin, Bootstrap 3, Template, Theme, Responsive">
<!-- bootstrap 3.0.2 -->
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<!-- font Awesome -->
<link href="css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<!-- Ionicons -->
<link href="css/ionicons.min.css" rel="stylesheet" type="text/css" />
<!-- Morris chart -->
<link href="css/morris/morris.css" rel="stylesheet" type="text/css" />
<!-- jvectormap -->
<link href="css/jvectormap/jquery-jvectormap-1.2.2.css" rel="stylesheet" type="text/css" />
<!-- Date Picker -->
<link href="css/datepicker/datepicker3.css" rel="stylesheet" type="text/css" />
<!-- fullCalendar -->
<!-- <link href="css/fullcalendar/fullcalendar.css" rel="stylesheet" type="text/css" /> -->
<!-- Daterange picker -->
<link href="css/daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css" />
<!-- iCheck for checkboxes and radio inputs -->
<link href="css/iCheck/all.css" rel="stylesheet" type="text/css" />
<!-- bootstrap wysihtml5 - text editor -->
<!-- Theme style -->
<link href="css/style.css" rel="stylesheet" type="text/css" />
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
<style type="text/css">
</style>
</head>
<body class="skin-black">
<!-- header logo: style can be found in header.less -->
<header class="header">
<a href="index.html" class="logo">
Director
</a>
<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-static-top" role="navigation">
<!-- Sidebar toggle button-->
<a href="#" class="navbar-btn sidebar-toggle" data-toggle="offcanvas" role="button">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<div class="navbar-right">
<ul class="nav navbar-nav">
<!-- Messages: style can be found in dropdown.less-->
<li class="dropdown messages-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-envelope"></i>
<span class="label label-success">4</span>
</a>
<ul class="dropdown-menu">
<li class="header">You have 4 messages</li>
<li>
<!-- inner menu: contains the actual data -->
<ul class="menu">
<li>
<!-- start message -->
<a href="#">
<div class="pull-left">
<img src="img/26115.jpg" class="img-circle" alt="User Image" />
</div>
<h4>
Support Team
</h4>
<p>Why not buy a new awesome theme?</p>
<small class="pull-right">
<i class="fa fa-clock-o"></i> 5 mins</small>
</a>
</li>
<!-- end message -->
<li>
<a href="#">
<div class="pull-left">
<img src="img/26115.jpg" class="img-circle" alt="user image" />
</div>
<h4>
Director Design Team
</h4>
<p>Why not buy a new awesome theme?</p>
<small class="pull-right">
<i class="fa fa-clock-o"></i> 2 hours</small>
</a>
</li>
<li>
<a href="#">
<div class="pull-left">
<img src="img/avatar.png" class="img-circle" alt="user image" />
</div>
<h4>
Developers
</h4>
<p>Why not buy a new awesome theme?</p>
<small class="pull-right">
<i class="fa fa-clock-o"></i> Today</small>
</a>
</li>
<li>
<a href="#">
<div class="pull-left">
<img src="img/26115.jpg" class="img-circle" alt="user image" />
</div>
<h4>
Sales Department
</h4>
<p>Why not buy a new awesome theme?</p>
<small class="pull-right">
<i class="fa fa-clock-o"></i> Yesterday</small>
</a>
</li>
<li>
<a href="#">
<div class="pull-left">
<img src="img/avatar.png" class="img-circle" alt="user image" />
</div>
<h4>
Reviewers
</h4>
<p>Why not buy a new awesome theme?</p>
<small class="pull-right">
<i class="fa fa-clock-o"></i> 2 days</small>
</a>
</li>
</ul>
</li>
<li class="footer">
<a href="#">See All Messages</a>
</li>
</ul>
</li>
<li class="dropdown tasks-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-tasks"></i>
<span class="label label-danger">9</span>
</a>
<ul class="dropdown-menu">
<li class="header">You have 9 tasks</li>
<li>
<!-- inner menu: contains the actual data -->
<ul class="menu">
<li>
<!-- Task item -->
<a href="#">
<h3>
Design some buttons
<small class="pull-right">20%</small>
</h3>
<div class="progress progress-striped xs">
<div class="progress-bar progress-bar-success" style="width: 20%" role="progressbar" aria-valuenow="20" aria-valuemin="0"
aria-valuemax="100">
<span class="sr-only">20% Complete</span>
</div>
</div>
</a>
</li>
<!-- end task item -->
<li>
<!-- Task item -->
<a href="#">
<h3>
Create a nice theme
<small class="pull-right">40%</small>
</h3>
<div class="progress progress-striped xs">
<div class="progress-bar progress-bar-danger" style="width: 40%" role="progressbar" aria-valuenow="20" aria-valuemin="0"
aria-valuemax="100">
<span class="sr-only">40% Complete</span>
</div>
</div>
</a>
</li>
<!-- end task item -->
<li>
<!-- Task item -->
<a href="#">
<h3>
Some task I need to do
<small class="pull-right">60%</small>
</h3>
<div class="progress progress-striped xs">
<div class="progress-bar progress-bar-info" style="width: 60%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
<span class="sr-only">60% Complete</span>
</div>
</div>
</a>
</li>
<!-- end task item -->
<li>
<!-- Task item -->
<a href="#">
<h3>
Make beautiful transitions
<small class="pull-right">80%</small>
</h3>
<div class="progress progress-striped xs">
<div class="progress-bar progress-bar-warning" style="width: 80%" role="progressbar" aria-valuenow="20" aria-valuemin="0"
aria-valuemax="100">
<span class="sr-only">80% Complete</span>
</div>
</div>
</a>
</li>
<!-- end task item -->
</ul>
</li>
<li class="footer">
<a href="#">View all tasks</a>
</li>
</ul>
</li>
<!-- User Account: style can be found in dropdown.less -->
<li class="dropdown user user-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-user"></i>
<span>Jane Doe
<i class="caret"></i>
</span>
</a>
<ul class="dropdown-menu dropdown-custom dropdown-menu-right">
<li class="dropdown-header text-center">Account</li>
<li>
<a href="#">
<i class="fa fa-clock-o fa-fw pull-right"></i>
<span class="badge badge-success pull-right">10</span> Updates</a>
<a href="#">
<i class="fa fa-envelope-o fa-fw pull-right"></i>
<span class="badge badge-danger pull-right">5</span> Messages</a>
<a href="#">
<i class="fa fa-magnet fa-fw pull-right"></i>
<span class="badge badge-info pull-right">3</span> Subscriptions</a>
<a href="#">
<i class="fa fa-question fa-fw pull-right"></i>
<span class="badge pull-right">11</span> FAQ</a>
</li>
<li class="divider"></li>
<li>
<a href="#">
<i class="fa fa-user fa-fw pull-right"></i>
Profile
</a>
<a data-toggle="modal" href="#modal-user-settings">
<i class="fa fa-cog fa-fw pull-right"></i>
Settings
</a>
</li>
<li class="divider"></li>
<li>
<a href="#">
<i class="fa fa-ban fa-fw pull-right"></i> Logout</a>
</li>
</ul>
</li>
</ul>
</div>
</nav>
</header>
<div class="wrapper row-offcanvas row-offcanvas-left">
<!-- Left side column. contains the logo and sidebar -->
<aside class="left-side sidebar-offcanvas">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar user panel -->
<div class="user-panel">
<div class="pull-left image">
<img src="img/26115.jpg" class="img-circle" alt="User Image" />
</div>
<div class="pull-left info">
<p>Hello, Jane</p>
<a href="#">
<i class="fa fa-circle text-success"></i> Online</a>
</div>
</div>
<!-- search form -->
<form action="#" method="get" class="sidebar-form">
<div class="input-group">
<input type="text" name="q" class="form-control" placeholder="Search..." />
<span class="input-group-btn">
<button type='submit' name='seach' id='search-btn' class="btn btn-flat">
<i class="fa fa-search"></i>
</button>
</span>
</div>
</form>
<!-- /.search form -->
<!-- sidebar menu: : style can be found in sidebar.less -->
<ul class="sidebar-menu">
<li class="active">
<a href="index.html">
<i class="fa fa-dashboard"></i>
<span>Echarts统计</span>
</a>
</li>
<!-- <li>
<a href="simple.html">
<i class="fa fa-glass"></i>
<span>Simple tables</span>
</a>
</li> -->
</ul>
</section>
<!-- /.sidebar -->
</aside>
<div class="copyrights">Collect from
<a href="http://www.cssmoban.com/">免费网站模板</a>
</div>
<aside class="right-side">
<!-- Main content -->
<section class="content">
<div class="row" style="margin-bottom:5px;">
<div class="col-md-3">
<div class="sm-st clearfix">
<span class="sm-st-icon st-red">
<i class="fa fa-check-square-o"></i>
</span>
<div class="sm-st-info">
<span>3200</span>
Total Tasks
</div>
</div>
</div>
<div class="col-md-3">
<div class="sm-st clearfix">
<span class="sm-st-icon st-violet">
<i class="fa fa-envelope-o"></i>
</span>
<div class="sm-st-info">
<span>2200</span>
Total Messages
</div>
</div>
</div>
<div class="col-md-3">
<div class="sm-st clearfix">
<span class="sm-st-icon st-blue">
<i class="fa fa-dollar"></i>
</span>
<div class="sm-st-info">
<span>100,320</span>
Total Profit
</div>
</div>
</div>
<div class="col-md-3">
<div class="sm-st clearfix">
<span class="sm-st-icon st-green">
<i class="fa fa-paperclip"></i>
</span>
<div class="sm-st-info">
<span>4567</span>
Total Documents
</div>
</div>
</div>
</div>
<!-- Main row -->
<div class="row">
<div class="col-md-12">
<!--earning graph start-->
<section class="panel">
<header class="panel-heading">
echarts demo 趋势分析
</header>
<div class="panel-body">
<div id="linechart" style="height:300px;width:100%"></div>
</div>
</section>
<!--earning graph end-->
</div>
</div>
</section>
</div>
<!--end col-6 -->
</div>
</div>
<!-- row end -->
</section>
<!-- /.content -->
<div class="footer-main">
Copyright &copy Director, 2014. More Info
<a href="https://t.xiaomiquan.com/zvj2Zzf" target="_blank" title="giscafer前端带练">giscafer前端带练</a> - Collect from
<a href="http://www.cssmoban.com/" title="网页模板" target="_blank">网页模板</a>
</div>
</aside>
<!-- /.right-side -->
</div>
<!-- ./wrapper -->
<!-- jQuery 2.0.2 -->
<script src="js/jquery.min.js" type="text/javascript"></script>
<!-- jQuery UI 1.10.3 -->
<script src="js/jquery-ui-1.10.3.min.js" type="text/javascript"></script>
<!-- Bootstrap -->
<script src="js/bootstrap.min.js" type="text/javascript"></script>
<!-- daterangepicker -->
<script src="js/plugins/daterangepicker/daterangepicker.js" type="text/javascript"></script>
<script src="js/plugins/chart.js" type="text/javascript"></script>
<!-- datepicker
<script src="js/plugins/datepicker/bootstrap-datepicker.js" type="text/javascript"></script>-->
<!-- Bootstrap WYSIHTML5
<script src="js/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js" type="text/javascript"></script>-->
<!-- iCheck -->
<script src="js/plugins/iCheck/icheck.min.js" type="text/javascript"></script>
<!-- calendar -->
<script src="js/plugins/fullcalendar/fullcalendar.js" type="text/javascript"></script>
<!-- Director App -->
<script src="js/Director/app.js" type="text/javascript"></script>
<!-- Director dashboard demo (This is only for demo purposes) -->
<script src="js/Director/dashboard.js" type="text/javascript"></script>
<!-- Director for demo purposes -->
<script type="text/javascript">
$('input').on('ifChecked', function (event) {
// var element = $(this).parent().find('input:checkbox:first');
// element.parent().parent().parent().addClass('highlight');
$(this).parents('li').addClass("task-done");
console.log('ok');
});
$('input').on('ifUnchecked', function (event) {
// var element = $(this).parent().find('input:checkbox:first');
// element.parent().parent().parent().removeClass('highlight');
$(this).parents('li').removeClass("task-done");
console.log('not');
});
</script>
<script>
$('#noti-box').slimScroll({
height: '400px',
size: '5px',
BorderRadius: '5px'
});
$('input[type="checkbox"].flat-grey, input[type="radio"].flat-grey').iCheck({
checkboxClass: 'icheckbox_flat-grey',
radioClass: 'iradio_flat-grey'
});
</script>
<!-- ehcart依赖 -->
<script src="./echarts/echarts.min.js"></script>
<script src="./echarts/line-options.js"></script>
<script type="text/javascript">
$(function () {
"use strict";
// 基于准备好的dom,初始化echarts实例
var myChart = echarts.init(document.getElementById('linechart'));
// 使用刚指定的配置项和数据显示图表。
myChart.setOption(lineOption);
});
</script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/xiaomiquan/task01-echart-demo.git
git@gitee.com:xiaomiquan/task01-echart-demo.git
xiaomiquan
task01-echart-demo
task01-echart-demo
master

搜索帮助