« Test » : différence entre les versions
De 21Wiki
(enlevement du test image clickable) Balises : Révocation manuelle Éditeur de wikicode 2017 |
Aucun résumé des modifications Balise : Éditeur de wikicode 2017 |
||
Ligne 4 : | Ligne 4 : | ||
"data": [ | "data": [ | ||
{ | { | ||
"name": " | "name": "membres", | ||
"format": { | "format": { | ||
"type": "json", | "type": "json", | ||
"parse": { | "parse": { | ||
" | "membre_start": "date:\"%Y-%m-%d\"", | ||
" | "membre_end": "date:\"%Y-%m-%d\"" | ||
} | } | ||
}, | }, | ||
"values": [ | "values": [ | ||
{ | { | ||
"label": " | "label": "teller", | ||
"nom": " | "nom": "Hank Teller", | ||
" | "membre_start": "2021-02-25", | ||
" | "membre_end": "2021-10-30", | ||
" | "status": "" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "iacono", | ||
"nom": " | "nom": "Léo Iacono", | ||
" | "membre_start": "2021-02-25", | ||
" | "membre_end": "2021-09-02", | ||
" | "status": "✈️" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "wilson", | ||
"nom": " | "nom": "Math Wilson", | ||
" | "membre_start": "2021-02-25", | ||
" | "membre_end": "2021-10-30", | ||
" | "status": "" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "danielson", | ||
"nom": " | "nom": "Max Danielson", | ||
" | "membre_start": "2021-02-25", | ||
" | "membre_end": "2021-09-02", | ||
" | "status": "✈️" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "dieno", | ||
"nom": " | "nom": "Alvana Dieno", | ||
" | "membre_start": "2021-03-16", | ||
" | "membre_end": "2021-06-09", | ||
" | "status": "⚰️" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "smith", | ||
"nom": " | "nom": "Moran Smith", | ||
" | "membre_start": "2021-03-16", | ||
" | "membre_end": "2021-06-09", | ||
" | "status": "⚰️" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "murphy", | ||
"nom": " | "nom": "Zack Murphy", | ||
" | "membre_start": "2021-05-27", | ||
" | "membre_end": "2021-10-30", | ||
" | "status": "" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "low", | ||
"nom": " | "nom": "Max Low", | ||
" | "membre_start": "2021-06-12", | ||
" | "membre_end": "2021-10-30", | ||
" | "status": "" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "robert", | ||
"nom": " | "nom": "Régis Robert", | ||
" | "membre_start": "2021-06-12", | ||
" | "membre_end": "2021-09-08", | ||
" | "status": "🚪" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "mikes", | ||
"nom": " | "nom": "Dan Mikes", | ||
" | "membre_start": "2021-06-16", | ||
" | "membre_end": "2021-10-30", | ||
" | "status": "" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "berloufe", | ||
"nom": " | "nom": "Patraffe Berloufe", | ||
" | "membre_start": "2021-08-16", | ||
" | "membre_end": "2021-10-30", | ||
" | "status": "" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "owen", | ||
"nom": " | "nom": "Hill Owen", | ||
" | "membre_start": "2021-08-19", | ||
" | "membre_end": "2021-10-30", | ||
" | "status": "" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "tale", | ||
"nom": " | "nom": "Bobby Tale", | ||
" | "membre_start": "2021-08-24", | ||
" | "membre_end": "2021-10-30", | ||
" | "status": "" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "oudin", | ||
"nom": " | "nom": "Arthur Oudin", | ||
" | "membre_start": "2021-08-24", | ||
" | "membre_end": "2021-10-30", | ||
" | "status": "" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "largo", | ||
"nom": " | "nom": "Yohann Largo", | ||
" | "membre_start": "2021-09-09", | ||
" | "membre_end": "2021-09-26", | ||
" | "status": "✈️" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "nouvo", | ||
"nom": " | "nom": "Zack Nouvo", | ||
" | "membre_start": "2021-09-09", | ||
" | "membre_end": "2021-10-30", | ||
" | "status": "" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "pearsun", | ||
"nom": " | "nom": "Jimmy Pearsun", | ||
" | "membre_start": "2021-09-14", | ||
" | "membre_end": "2021-10-30", | ||
" | "status": "" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "denzel", | ||
"nom": " | "nom": "Derek Denzel", | ||
" | "membre_start": "2021-10-07", | ||
"membre_end": "2021-10-30", | |||
"status": "" | |||
" | |||
" | |||
} | } | ||
] | ] | ||
}, | }, | ||
{ | { | ||
"name": " | "name": "seconds", | ||
"format": { | "format": { | ||
"type": "json", | "type": "json", | ||
"parse": { | "parse": { | ||
" | "second_start": "date:\"%Y-%m-%d\"", | ||
" | "second_end": "date:\"%Y-%m-%d\"" | ||
} | } | ||
}, | }, | ||
"values": [ | "values": [ | ||
{ | { | ||
"label": " | "label": "iacono", | ||
" | "second_start": "2021-03-16", | ||
" | "second_end": "2021-09-02" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "wilson", | ||
" | "second_start": "2021-09-02", | ||
" | "second_end": "2021-10-30" | ||
} | } | ||
] | ] | ||
}, | }, | ||
{ | { | ||
"name": " | "name": "chefs", | ||
"format": { | "format": { | ||
"type": "json", | "type": "json", | ||
"parse": { | "parse": { | ||
" | "chef_start": "date:\"%Y-%m-%d\"", | ||
" | "chef_end": "date:\"%Y-%m-%d\"" | ||
} | } | ||
}, | }, | ||
"values": [ | "values": [ | ||
{ | { | ||
"label": " | "label": "teller", | ||
" | "chef_start": "2021-02-25", | ||
" | "chef_end": "2021-10-30" | ||
} | } | ||
] | ] | ||
}, | }, | ||
{ | { | ||
"name": " | "name": "events", | ||
"format": { | "format": { | ||
"type": "json", | "type": "json", | ||
"parse": { | "parse": {"date": "date:\"%Y-%m-%d\""} | ||
}, | }, | ||
"values": [ | "values": [ | ||
{ | { | ||
" | "name": "25/02 - Cocaïne", | ||
"date": "2021-02-25" | |||
" | |||
}, | }, | ||
{ | { | ||
" | "name": "06/07 - Blanchiment", | ||
" | "date": "2021-07-06" | ||
}] | |||
} | |||
} | } | ||
], | ], | ||
Ligne 288 : | Ligne 202 : | ||
"type": "ordinal", | "type": "ordinal", | ||
"range": "height", | "range": "height", | ||
"domain": {"data": " | "domain": {"data": "membres","field": "label"} | ||
}, | }, | ||
{ | { | ||
Ligne 295 : | Ligne 209 : | ||
"range": "width", | "range": "width", | ||
"nice": "month", | "nice": "month", | ||
"domain": {"data": " | "domain": { | ||
"data": "membres", | |||
"field": ["membre_start","membre_end"] | |||
} | |||
} | } | ||
], | ], | ||
Ligne 303 : | Ligne 220 : | ||
"scale": "x", | "scale": "x", | ||
"grid": true, | "grid": true, | ||
"format": "%m/%y | "format": "%m/%y" | ||
} | } | ||
], | ], | ||
Ligne 310 : | Ligne 226 : | ||
{ | { | ||
"type": "text", | "type": "text", | ||
"from": {"data": " | "from": {"data": "events"}, | ||
"properties": { | |||
"enter": { | |||
"x": {"scale": "x","field": "date"}, | |||
"y": {"value": -25}, | |||
"angle": {"value": -30}, | |||
"fill": {"value": "#000"}, | |||
"text": {"field": "name"}, | |||
"fontSize": {"value": 14} | |||
} | |||
} | |||
}, | |||
{ | |||
"type": "text", | |||
"from": {"data": "membres"}, | |||
"properties": { | "properties": { | ||
"enter": { | "enter": { | ||
"x": {"scale": "x","field": " | "x": {"scale": "x","field": "membre_end","offset": -2}, | ||
"y": {"scale": "y","field": "label","offset": | "y": {"scale": "y","field": "label","offset": 6}, | ||
"fill": {"value": "#000"}, | "fill": {"value": "#000"}, | ||
"text": {"field": " | "text": {"field": "status"}, | ||
"fontSize": {"value": 14} | "fontSize": {"value": 14} | ||
} | } | ||
Ligne 323 : | Ligne 253 : | ||
{ | { | ||
"type": "rect", | "type": "rect", | ||
"from": {"data": " | "from": {"data": "events"}, | ||
"properties": { | "properties": { | ||
"enter": { | "enter": { | ||
"x": {"scale": "x","field": " | "x": {"scale": "x","field": "date"}, | ||
" | "y": {"value": -20}, | ||
" | "width": {"value": 0.5}, | ||
"height": {"field": {"group": "height"},"offset": 20}, | |||
"fill": {"value": "# | "fill": {"value": "#0090FF"} | ||
} | } | ||
} | } | ||
Ligne 336 : | Ligne 266 : | ||
{ | { | ||
"type": "rect", | "type": "rect", | ||
"from": {"data": " | "from": {"data": "chefs"}, | ||
"properties": { | "properties": { | ||
"enter": { | "enter": { | ||
"x": {"scale": "x","field": " | "x": {"scale": "x","field": "chef_start"}, | ||
"x2": {"scale": "x","field": " | "x2": {"scale": "x","field": "chef_end"}, | ||
"y": {"scale": "y","field": "label","offset": -3}, | "y": {"scale": "y","field": "label","offset": -3}, | ||
"height": {"value": 10}, | "height": {"value": 10}, | ||
"fill": {"value": "# | "fill": {"value": "#d00"} | ||
} | } | ||
} | } | ||
Ligne 349 : | Ligne 279 : | ||
{ | { | ||
"type": "rect", | "type": "rect", | ||
"from": {"data": " | "from": {"data": "seconds"}, | ||
"properties": { | "properties": { | ||
"enter": { | "enter": { | ||
"x": {"scale": "x","field": " | "x": {"scale": "x","field": "second_start"}, | ||
"x2": {"scale": "x","field": " | "x2": {"scale": "x","field": "second_end"}, | ||
"y": {"scale": "y","field": "label","offset": -3}, | "y": {"scale": "y","field": "label","offset": -3}, | ||
"height": {"value": 10}, | "height": {"value": 10}, | ||
"fill": {"value": "# | "fill": {"value": "#00a"} | ||
} | } | ||
} | } | ||
Ligne 362 : | Ligne 292 : | ||
{ | { | ||
"type": "rect", | "type": "rect", | ||
"from": {"data": " | "from": {"data": "membres"}, | ||
"properties": { | "properties": { | ||
"enter": { | "enter": { | ||
"x": {"scale": "x","field": " | "x": {"scale": "x","field": "membre_start"}, | ||
"x2": {"scale": "x","field": " | "x2": {"scale": "x","field": "membre_end"}, | ||
"y": {"scale": "y","field": "label"}, | "y": {"scale": "y","field": "label"}, | ||
"height": {"value": 4}, | "height": {"value": 4}, | ||
"fill": {"field": " | "fill": {"value": "#555"} | ||
} | |||
} | |||
}, | |||
{ | |||
"type": "text", | |||
"from": {"data": "membres"}, | |||
"properties": { | |||
"enter": { | |||
"x": {"scale": "x","field": "membre_start"}, | |||
"y": {"scale": "y","field": "label","offset": -7}, | |||
"fill": {"value": "#000"}, | |||
"text": {"field": "nom"}, | |||
"fontSize": {"value": 14} | |||
} | } | ||
} | } |