-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex copy.html
51 lines (45 loc) · 1.48 KB
/
index copy.html
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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src='file:///Users/renansilva/Library/Application%20Support/iPhone%20Simulator/7.0.3/Applications/816D0706-29E6-498A-B7CC-6BBC613048F2/Ponto.app/jquery.min.js'></script><script src='file:///Users/renansilva/Library/Application%20Support/iPhone%20Simulator/7.0.3/Applications/816D0706-29E6-498A-B7CC-6BBC613048F2/Ponto.app/highcharts.js'></script>
<script>
$(function () {
$('#container').highcharts({
chart: {
plotBackgroundColor: false,
plotBorderWidth: null,
plotShadow: false
},
title: {
text: 'Teste'
},
tooltip: {
pointFormat: "{series.name}: <b>{point.percentage:.1f}%</b>"
},
plotOptions: {
pie: {
allowPointSelect: true,
cursor: 'pointer',
dataLabels: {
enabled: true,
color: '#000000',
connectorColor: '#000000',
format: "<p style='font-size:14px;font-weight:bolder'>{point.name}</p> : {point.percentage:.2f}%"
}
}
},
series: [{
type: 'pie',
name: 'Test Name',
data: [
['março', 30],['fevereiro', 20],['janeiro', 10]
]
}]
});
});
</script>
</head>
<body >
<div id="container" style="width:320; height:460;"></div>
</body>
</html>