33 lines
1 KiB
HTML
33 lines
1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head lang="en">
|
|
<meta charset="UTF-8">
|
|
<title>Pie update colours</title>
|
|
<link rel="stylesheet" href="../../dist/angular-chart.css">
|
|
<link href="../../examples/bootstrap.css" rel="stylesheet">
|
|
</head>
|
|
<body ng-app="line" 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" ng-controller="LineCtrl">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">Line Chart</div>
|
|
<div class="panel-body">
|
|
<canvas class="chart chart-line" options="options" data="data" labels="labels" colours="colours"></canvas>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</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="configure-line-chart.js"></script>
|
|
</body>
|
|
</html>
|