-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhigh-chart.html
More file actions
31 lines (24 loc) · 851 Bytes
/
Copy pathhigh-chart.html
File metadata and controls
31 lines (24 loc) · 851 Bytes
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
<link rel="import" href="../highcharts/adapters/standalone-framework.js">
<link rel="import" href="../highcharts/highcharts.js">
<polymer-element name="high-chart" attributes="">
<template>
</template>
<script>
Polymer('high-chart', {
ready: function () {
var chart = new Highcharts.Chart({
chart: {
renderTo: document.getElementById('container')
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
},
series: [{
data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
}]
});
}
});
</script>
</polymer-element>