se-hub/templates/js/libs/angular-chart.js-0.7.2/test/fixtures/charts.html

78 lines
3 KiB
HTML

<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Charts</title>
<link rel="stylesheet" href="../../dist/angular-chart.css">
<link href="../../examples/bootstrap.css" rel="stylesheet">
</head>
<body ng-app="charts" id="top">
<div class="container">
<section id="charts">
<div class="page-header">
<h1>Charts</h1>
</div>
<div class="row">
<div class="col-lg-4 col-sm-12" id="line-chart" ng-controller="LineCtrl">
<div class="panel panel-default">
<div class="panel-heading">Line Chart</div>
<div class="panel-body">
<canvas id="line" class="chart chart-line" data="data" labels="labels" series="series"></canvas>
</div>
</div>
</div>
<div class="col-lg-4 col-sm-12" id="bar-chart" ng-controller="BarCtrl">
<div class="panel panel-default">
<div class="panel-heading">Bar Chart</div>
<div class="panel-body">
<canvas id="bar" class="chart chart-bar" data="data" labels="labels"
series="series" options="options"></canvas>
</div>
</div>
</div>
<div class="col-lg-4 col-sm-12" id="doughnut-chart" ng-controller="DoughnutCtrl">
<div class="panel panel-default">
<div class="panel-heading">Doughnut Chart</div>
<div class="panel-body">
<canvas id="doughnut" class="chart chart-doughnut" data="data" labels="labels" legend="false"></canvas>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-4 col-sm-12" id="radar-chart" ng-controller="RadarCtrl">
<div class="panel panel-default">
<div class="panel-heading">Radar Chart</div>
<div class="panel-body">
<canvas id="area" class="chart chart-radar" data="data" labels="labels"></canvas>
</div>
</div>
</div>
<div class="col-lg-4 col-sm-12" id="pie-chart" ng-controller="PieCtrl">
<div class="panel panel-default">
<div class="panel-heading">Pie Chart</div>
<div class="panel-body">
<canvas id="pie" class="chart chart-pie" data="data" labels="labels"></canvas>
</div>
</div>
</div>
<div class="col-lg-4 col-sm-12" id="polar area-chart" ng-controller="PolarAreaCtrl">
<div class="panel panel-default">
<div class="panel-heading">Polar Area Chart</div>
<div class="panel-body">
<canvas id="polar" class="chart chart-polar-area" data="data" labels="labels"></canvas>
</div>
</div>
</div>
</div>
<div class="row">
</div>
</section>
</div>
<script src="../../bower_components/angular/angular.min.js"></script>
<script src="../../bower_components/Chart.js/Chart.js"></script>
<script src="../../angular-chart.js"></script>
<script src="charts.js"></script>
</body>
</html>