Channels Stats

- Move page
- Clean Code
- Create json datas
This commit is contained in:
Mickael 2019-06-08 12:44:19 +02:00
parent f047dba90f
commit 0f8ab5363c
5 changed files with 118 additions and 10 deletions

View file

@ -84,6 +84,9 @@
<script src="{{ site.baseurl }}/public/js/cytoscape/cytoscape.min.js"></script> <script src="{{ site.baseurl }}/public/js/cytoscape/cytoscape.min.js"></script>
<script src="{{ site.baseurl }}/public/js/cytoscape/cytoscape-automove.js"></script> <script src="{{ site.baseurl }}/public/js/cytoscape/cytoscape-automove.js"></script>
{% endif %} {% endif %}
{% if page.chartjs %}
<script src="{{ site.baseurl }}/public/js/chartjs/Chart.bundle.min.js"></script>
{% endif %}
<!-- Icons --> <!-- Icons -->
<!-- 16x16 --> <!-- 16x16 -->

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,92 @@
[
{
"label": "Cohorte",
"backgroundColor": "rgb(147,49,67)",
"data": [
1063,
898,
340,
198,
170,
421,
357,
801,
689,
281,
496,
653
]
},
{
"label": "Democratie",
"backgroundColor": "rgb(204,154,254)",
"data": [
2278,
2133,
2475,
3056,
3253,
2490,
3161,
8463,
6675,
3330,
2608,
2204
]
},
{
"label": "Ecologie",
"backgroundColor": "rgb(251,203,43)",
"data": [
355,
935,
688,
1791,
2123,
1399,
1129,
616,
772,
947,
1397,
570
]
},
{
"label": "Technologie",
"backgroundColor": "rgb(229,184,170)",
"data": [
57,
2025,
549,
214,
442,
436,
708,
1680,
975,
835,
492,
1197
]
},
{
"label": "Global",
"backgroundColor": "rgb(37,122,28)",
"data": [
11628,
9083,
3933,
3825,
3978,
3877,
4509,
1600,
3467,
3848,
9191,
4581
]
}
]

7
public/js/chartjs/Chart.bundle.min.js vendored Normal file

File diff suppressed because one or more lines are too long