1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
<% include header %>
</head>
<body>
<% include navbar %>
<!-- Wrapper
================================================== -->
<div class="container" id="wrapper">
<div class="row-fluid row" style="background-color: #f99">
<div class="span5 pid22" style="background-color: #fff">
<h1>Prosjekter</h1>
<section class="projects">
<section class="project">
<div class="row-fluid">
<div class="span11">
<h1><a href="/dennisse/hyttetur">dennisse/<strong>hyttetur</strong></a></h1>
<span class="participants">Meg, Robert, Turid-Laila</span>
</div>
<div class="span1">
<p>+</p>
</div>
</div>
</section>
<section class="project">
<h1><a href="/kurt/Kollektivet">kurt/<strong>Kollektivet</strong></a></h1>
<span class="participants">Meg, Kurt, Stian</span>
</section>
<section class="project">
<h1><a href="/turidl/Kosekveldene">turidl/<strong>Kosekveldene</strong></a></h1>
<span class="participants">Meg, Turid-Laila</span>
<a class="btn" type="button">+</a>
</section>
<a class="btn btn-large btn-block" type="button">+</a>
</section>
</div><!-- /div.span5 -->
<div class="span7">
<section class="chart">
<canvas id="myChart" width="400" height="400"></canvas>
</section>
<section calss="overview">
</section>
</div><!-- /div.span7 -->
</div><!-- /div.row -->
</div><!-- /div.#wrapper -->
<% include footer %>
<script src="/js/Chart.min.js"></script>
<script>
var data = {
labels : ["January","February","March","April","May","June","July"],
datasets : [
{
fillColor : "rgba(220,220,220,0.5)",
strokeColor : "rgba(220,220,220,1)",
pointColor : "rgba(220,220,220,1)",
pointStrokeColor : "#fff",
data : [65,59,90,81,56,55,40]
},
{
fillColor : "rgba(151,187,205,0.5)",
strokeColor : "rgba(151,187,205,1)",
pointColor : "rgba(151,187,205,1)",
pointStrokeColor : "#fff",
data : [28,48,40,19,96,27,100]
}
]
}
//var myLine = new Chart(document.getElementById("myChart").getContext("2d")).Line(data);
var ctx = $("#myChart").get(0).getContext("2d");
var myNewChart = new Chart(ctx).Line(data);
</script>
</body>
</html>
|