« Test » : différence entre les versions
De 21Wiki
Aucun résumé des modifications Balise : Éditeur de wikicode 2017 |
Aucun résumé des modifications Balise : Éditeur de wikicode 2017 |
||
Ligne 23 : | Ligne 23 : | ||
{ | { | ||
"name": "membres", | "name": "membres", | ||
"transform": [ | |||
{ | |||
"type": "formula", | |||
"field": "membre_end", | |||
"expr": "datum.membre_end ? datum.membre_end : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))" | |||
} | |||
], | |||
"format": { | "format": { | ||
"type": "json", | "type": "json", | ||
Ligne 32 : | Ligne 39 : | ||
"values": [ | "values": [ | ||
{ | { | ||
"label": " | "label": "nikolai", | ||
"nom": " | "nom": "Nikolai Voronov", | ||
"membre_start": "2021-05- | "membre_start": "2021-05-28", | ||
"membre_end": | "membre_end": null, | ||
"status": | "status": null | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "lewis", | ||
"nom": " | "nom": "Lewis McVoy", | ||
"membre_start": "2021-05- | "membre_start": "2021-05-28", | ||
"membre_end": "2021-11 | "membre_end": "2021-08-11", | ||
"status": "" | "status": "⚰️" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "bruce", | ||
"nom": " | "nom": "Bruce « La Brute » Bronson", | ||
"membre_start": "2021-05- | "membre_start": "2021-05-28", | ||
"membre_end": | "membre_end": null, | ||
"status": | "status": null | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "nick", | ||
"nom": " | "nom": "Nick Winter", | ||
"membre_start": "2021-05- | "membre_start": "2021-05-28", | ||
"membre_end": "2021- | "membre_end": "2021-09-07", | ||
"status": " | "status": "🚪" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "nora", | ||
"nom": " | "nom": "Nora Linares", | ||
"membre_start": "2021-05- | "membre_start": "2021-05-28", | ||
"membre_end": | "membre_end": null, | ||
"status": | "status": null | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "lana", | ||
"nom": " | "nom": "Lana Summers", | ||
"membre_start": "2021-05-28", | "membre_start": "2021-05-28", | ||
"membre_end": "2021-06 | "membre_end": "2021-07-06", | ||
"status": " | "status": "⚰️" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "odric", | ||
"nom": " | "nom": "Odric Van der Hoeven", | ||
"membre_start": "2021-05-28", | "membre_start": "2021-05-28", | ||
"membre_end": "2021- | "membre_end": "2021-07-18", | ||
"status": "" | "status": "⚰️" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "nolan", | ||
"nom": " | "nom": "Nolan O'Brian", | ||
"membre_start": "2021-05- | "membre_start": "2021-05-28", | ||
"membre_end": "2021- | "membre_end": "2021-09-07", | ||
"status": " | "status": "✈️" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "paul", | ||
"nom": " | "nom": "Paul Graam", | ||
"membre_start": "2021-06- | "membre_start": "2021-06-25", | ||
"membre_end": | "membre_end": null, | ||
"status": | "status": null | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "jackson", | ||
"nom": " | "nom": "Jackson Lemar", | ||
"membre_start": "2021-06- | "membre_start": "2021-06-25", | ||
"membre_end": "2021- | "membre_end": "2021-09-07", | ||
"status": "" | "status": "✈️" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "tyler", | ||
"nom": " | "nom": "Tyler Owen", | ||
"membre_start": "2021- | "membre_start": "2021-07-15", | ||
"membre_end": | "membre_end": null, | ||
"status": | "status": null | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "tom", | ||
"nom": " | "nom": "Tom Carier", | ||
"membre_start": "2021- | "membre_start": "2021-08-10", | ||
"membre_end": | "membre_end": null, | ||
"status": | "status": null | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "alek", | ||
"nom": " | "nom": "Alek Brown", | ||
"membre_start": "2021- | "membre_start": "2021-08-20", | ||
"membre_end": | "membre_end": null, | ||
"status": | "status": null | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "adonis", | ||
"nom": " | "nom": "Adonis Papadopoulos", | ||
"membre_start": "2021-08- | "membre_start": "2021-08-27", | ||
"membre_end": | "membre_end": null, | ||
"status": | "status": null | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "charle", | ||
"nom": " | "nom": "Charle Bundy", | ||
"membre_start": "2021- | "membre_start": "2021-09-06", | ||
"membre_end": "2021- | "membre_end": "2021-09-24", | ||
"status": "" | "status": "✈️" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "sofiya", | ||
"nom": " | "nom": "Sofiya Balalaïka", | ||
"membre_start": "2021- | "membre_start": "2021-09-19", | ||
"membre_end": | "membre_end": null, | ||
"status": | "status": null | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "ryan", | ||
"nom": " | "nom": "Ryan Maclay", | ||
"membre_start": "2021- | "membre_start": "2021-09-20", | ||
"membre_end": | "membre_end": null, | ||
"status": | "status": null | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "lily", | ||
"nom": " | "nom": "Lily Adams", | ||
"membre_start": "2021- | "membre_start": "2021-10-15", | ||
"membre_end": | "membre_end": null, | ||
"status": | "status": null | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "neil", | ||
"nom": " | "nom": "Neil Harper", | ||
"membre_start": "2021- | "membre_start": "2021-10-21", | ||
"membre_end": " | "membre_end": null, | ||
" | "status": null | ||
}, | } | ||
] | |||
}, | |||
{ | |||
"name": "troisieme", | |||
"transform": [ | |||
{ | |||
"type": "formula", | |||
"field": "troisieme_end", | |||
"expr": "datum.troisieme_end ? datum.troisieme_end : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))" | |||
} | |||
], | |||
"format": { | |||
"type": "json", | |||
"parse": { | |||
"troisieme_start": "date:\"%Y-%m-%d\"", | |||
"troisieme_end": "date:\"%Y-%m-%d\"" | |||
} | |||
}, | |||
"values": [ | |||
{ | { | ||
"label": " | "label": "bruce", | ||
" | "troisieme_start": "2021-05-28", | ||
"troisieme_end": "2021-08-11" | |||
" | |||
}, | }, | ||
{ | { | ||
"label": " | "label": "tyler", | ||
" | "troisieme_start": "2021-08-11", | ||
"troisieme_end": null | |||
" | |||
} | } | ||
] | ] | ||
Ligne 182 : | Ligne 204 : | ||
{ | { | ||
"name": "seconds", | "name": "seconds", | ||
"transform": [ | |||
{ | |||
"type": "formula", | |||
"field": "second_end", | |||
"expr": "datum.second_end ? datum.second_end : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))" | |||
} | |||
], | |||
"format": { | "format": { | ||
"type": "json", | "type": "json", | ||
Ligne 189 : | Ligne 218 : | ||
} | } | ||
}, | }, | ||
"values": [] | "values": [ | ||
{ | |||
"label": "lewis", | |||
"second_start": "2021-05-28", | |||
"second_end": "2021-08-11" | |||
}, | |||
{ | |||
"label": "bruce", | |||
"second_start": "2021-08-11", | |||
"second_end": null | |||
} | |||
] | |||
}, | }, | ||
{ | { | ||
"name": "chefs", | "name": "chefs", | ||
"transform": [ | |||
{ | |||
"type": "formula", | |||
"field": "chef_end", | |||
"expr": "datum.chef_end ? datum.chef_end : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))" | |||
} | |||
], | |||
"format": { | "format": { | ||
"type": "json", | "type": "json", | ||
Ligne 202 : | Ligne 249 : | ||
"values": [ | "values": [ | ||
{ | { | ||
"label": " | "label": "nikolai", | ||
"chef_start": "2021-05- | "chef_start": "2021-05-28", | ||
"chef_end": | "chef_end": null | ||
} | } | ||
] | ] | ||
Ligne 215 : | Ligne 262 : | ||
}, | }, | ||
"values": [ | "values": [ | ||
{ | { | ||
"name": "26/ | "name": "06/07 - Echec de la 1ère course aux sacs", | ||
"date": "2021- | "date": "2021-07-06" | ||
} | }, | ||
{ | |||
"name": "26/07 - Echec de la 2ème course aux sacs", | |||
"date": "2021-07-26" | |||
}, | |||
{"name": "14/10 - Drogue","date": "2021-10-14"} | |||
] | ] | ||
} | } | ||
Ligne 236 : | Ligne 286 : | ||
"range": "width", | "range": "width", | ||
"round": false, | "round": false, | ||
"nice": " | "nice": "week", | ||
"domain": { | "domain": { | ||
"data": "membres", | "data": "membres", | ||
Ligne 248 : | Ligne 298 : | ||
"scale": "x", | "scale": "x", | ||
"grid": true, | "grid": true, | ||
"format": "%m/%y | "format": "%m/%y" | ||
} | } | ||
], | ], | ||
Ligne 302 : | Ligne 351 : | ||
"y": {"scale": "y","field": "label","offset": -3}, | "y": {"scale": "y","field": "label","offset": -3}, | ||
"height": {"value": 10}, | "height": {"value": 10}, | ||
"fill": {"value": "# | "fill": {"value": "#3c1f4d"} | ||
} | } | ||
} | } | ||
Ligne 315 : | Ligne 364 : | ||
"y": {"scale": "y","field": "label","offset": -3}, | "y": {"scale": "y","field": "label","offset": -3}, | ||
"height": {"value": 10}, | "height": {"value": 10}, | ||
"fill": {"value": "# | "fill": {"value": "#b35ce6"} | ||
} | |||
} | |||
}, | |||
{ | |||
"type": "rect", | |||
"from": {"data": "troisieme"}, | |||
"properties": { | |||
"enter": { | |||
"x": {"scale": "x","field": "troisieme_start"}, | |||
"x2": {"scale": "x","field": "troisieme_end"}, | |||
"y": {"scale": "y","field": "label","offset": -1.5}, | |||
"height": {"value": 7}, | |||
"fill": {"value": "#b35ce6"} | |||
} | } | ||
} | } | ||
Ligne 328 : | Ligne 390 : | ||
"y": {"scale": "y","field": "label"}, | "y": {"scale": "y","field": "label"}, | ||
"height": {"value": 4}, | "height": {"value": 4}, | ||
"fill": {"value": "# | "fill": {"value": "#783e9a"} | ||
} | } | ||
} | } |
Version du 20 novembre 2021 à 01:08