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
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
</head>
<body>
<center><div id="girl-height1" style="width: 75%;"></div></center>
<script>
Highcharts.chart('girl-height1', {
chart: {
type: 'spline',
zoomType: 'x',
style: {
fontFamily: 'Arial'
}
},
title: {
text: 'Girls height (0-2y)'
},
subtitle: {
text: 'Source: WHO'
},
yAxis: {
title: {
text: 'Height (cm)'
}
},
legend: {
enabled: false
},
credits:{enabled: false},
plotOptions: {
spline: {
marker: {enabled: false},
linewidth: 3
},
series: {
name: 'Week',
pointStart: 0
}
},
series: [{
name: '25%',
color: '#c0c0c0',
data: [47.9,52.4,55.7,58.4,60.6,62.5,64.2,65.7,67.2,68.5,69.8,71.1,72.3,73.4,74.6,75.7,76.7,77.7,78.7,79.7,80.7,81.6,82.5,83.4,84.2]
}, {
name: '50%',
data: [49.1,53.7,57.1,59.8,62.1,64,65.7,67.3,68.7,70.1,71.5,72.8,74,75.2,76.4,77.5,78.6,79.7,80.7,81.7,82.7,83.7,84.6,85.5,86.4]
}, {
name: '75%',
color: '#c0c0c0',
data: [50.4,55,58.4,61.2,63.5,65.5,67.3,68.8,70.3,71.8,73.1,74.5,75.8,77,78.2,79.4,80.5,81.6,82.7,83.7,84.7,85.7,86.7,87.7,88.6]
}, {
name: '95%',
color: '#c0c0c0',
data: [52.2,56.9,60.4,63.3,65.7,67.7,69.5,71.1,72.6,74.1,75.5,76.9,78.3,79.5,80.8,82,83.2,84.4,85.5,86.6,87.7,88.7,89.7,90.7,91.7]
}]
});
</script>
</body>
</html>
|