-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforo.html
116 lines (94 loc) · 4 KB
/
foro.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
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<html>
<head>
<title>INE eChile | Estadisticas para eRepublik Chile</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel='stylesheet' href='common.css' type='text/css' />
<style>
.label {
color: #91AA9D;
margin-top: 0.5em;
padding: 0.1em;
font-family: 'verdana', 'helvetica', sans serif;
}
.timeplot-grid-label {
color: #333;
font-family: 'verdana', 'helvetica', sans serif;
font-size: 9px !important;
}
.sources {
font-size: 90%;
}
</style>
<!-- For your own use, replace api/timeplot-api.js with http://api.simile-widgets.org/timeplot/1.1/timeplot-api.js -->
<script type="text/javascript" src="http://api.simile-widgets.org/timeplot/1.1/timeplot-api.js"></script>
<script>
var timeplot1;
function onLoad() {
var red = new Timeplot.Color('#B9121B');
var blue = new Timeplot.Color('#193441');
var green = new Timeplot.Color('#468966');
var lightGreen = new Timeplot.Color('#5C832F');
var fill1 = new Timeplot.Color('#D1DBBD');
fill1.transparency(0.75);
var fill2 = new Timeplot.Color('#bdd7db');
fill2.transparency(0.75);
var gridColor = new Timeplot.Color('#000000');
var timeGeometry = new Timeplot.DefaultTimeGeometry({
gridColor: gridColor,
axisLabelsPlacement: "bottom"
});
var geometry1 = new Timeplot.DefaultValueGeometry({
gridColor: gridColor,
axisLabelsPlacement: "left",
min: 0,
max: 2000
});
var eventSource1 = new Timeplot.DefaultEventSource();
var dataSource1 = new Timeplot.ColumnSource(eventSource1,1);
var plotInfo1 = [
Timeplot.createPlotInfo({
id: "Citizens",
dataSource: dataSource1,
timeGeometry: timeGeometry,
valueGeometry: geometry1,
lineColor: green,
showValues: true,
fillColor: fill1,
fillGradient: false
})
];
timeplot1 = Timeplot.create(document.getElementById("timeplot1"), plotInfo1);
timeplot1.loadText("foro.txt", "|", eventSource1);
}
var resizeTimerID = null;
function onResize() {
if (resizeTimerID == null) {
resizeTimerID = window.setTimeout(function() {
resizeTimerID = null;
if (timeplot1) timeplot1.repaint();
}, 0);
}
}
</script>
</head>
<body onLoad="onLoad();" onResize="onResize()">
<ul id="path">
<li><a href="http://www.ucll.info/INE/" title="Home">INE eChile</a></li>
<li><a href="http://www.ucll.info/INE/testeo.html" title="Home">Datos de Población</a></li>
<li><a href="http://www.ucll.info/INE/vitalidad.html" title="Home">Vitalidad</a></li>
<li><a href="http://www.ucll.info/INE/moneda.html" title="Home">Datos Economicos</a></li>
<li><a href="http://www.ucll.info/INE/ejercito.html" title="Home">Datos Militares</a></li>
<li><a href="http://www.ucll.info/INE/partidos.html" title="Home">Datos de Partidos</a></li>
<li><span>Foro</span></li>
</ul>
<div id="header" width: 20em">
<h1>Miembros de eRepublik.cl</h1>
</div>
<div>
<div id="header"><h2><span style="color: #193441;">Usuarios registrados en el foro</span></h2></div>
<div id="timeplot1" style="height: 300px" class="timeplot"></div>
<div id="footer">
Registrado © <a href="http://www.ucll.info/INE/">INE eChile</a>, todos los datos son obtenidos desde la <a href="http://api.erepublik.com/">API de eRepublik</a>
</div>
</body>
</html>