« 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 22 : | Ligne 22 : | ||
"data": [ | "data": [ | ||
{ | { | ||
"name": " | "name": "gangs", | ||
"transform": [ | "transform": [ | ||
{ | { | ||
"type": "formula", | "type": "formula", | ||
"field": " | "field": "disparition", | ||
"expr": "datum. | "expr": "datum.disparition ? datum.disparition : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))" | ||
} | } | ||
], | ], | ||
Ligne 33 : | Ligne 33 : | ||
"type": "json", | "type": "json", | ||
"parse": { | "parse": { | ||
" | "creation": "date:\"%Y-%m-%d\"", | ||
" | "disparition": "date:\"%Y-%m-%d\"" | ||
} | } | ||
}, | }, | ||
"values": [ | "values": [ | ||
{ | { | ||
"label": " | "label": "lost", | ||
"nom": " | "nom": "Lost MC", | ||
" | "color": "#3F3F3F", | ||
" | "creation": "2021-02-01", | ||
"disparition": null, | |||
"status": null | "status": null | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "vagos", | ||
"nom": " | "nom": "Vagos", | ||
" | "color": "#ffff00", | ||
" | "creation": "2021-02-01", | ||
"status": " | "disparition": null, | ||
"status": null | |||
}, | |||
{ | |||
"label": "nameless", | |||
"nom": "Nameless", | |||
"color": "#ff7f00", | |||
"creation": "2021-02-01", | |||
"disparition": "2021-08-03", | |||
"status": "💥" | |||
}, | }, | ||
{ | { | ||
"label": " | "label": "mano", | ||
"nom": " | "nom": "La Mano", | ||
" | "color": "#000000", | ||
" | "creation": "2021-05-10", | ||
"disparition": null, | |||
"status": null | "status": null | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "kkangpae", | ||
"nom": " | "nom": "KkangPae", | ||
" | "color": "#FF0000", | ||
" | "creation": "2021-05-14", | ||
"status": " | "disparition": "2021-10-13", | ||
"status": "👮" | |||
}, | }, | ||
{ | { | ||
"label": " | "label": "verts", | ||
"nom": " | "nom": "Les Verts", | ||
" | "color": "#387238", | ||
" | "creation": "2021-05-19", | ||
"disparition": null, | |||
"status": null | "status": null | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "syndicate", | ||
"nom": " | "nom": "Syndicate", | ||
" | "color": "#777777", | ||
" | "creation": "2021-05-20", | ||
"status": " | "disparition": "2021-05-30", | ||
"status": "🤝" | |||
}, | |||
{ | |||
"label": "reapers", | |||
"nom": "Reapers", | |||
"color": "#9F483F", | |||
"creation": "2021-05-24", | |||
"disparition": "2021-08-29", | |||
"status": "❌" | |||
}, | |||
{ | |||
"label": "ballas", | |||
"nom": "Ballas", | |||
"color": "#783E9A", | |||
"creation": "2021-05-26", | |||
"disparition": null, | |||
"status": null | |||
}, | }, | ||
{ | { | ||
"label": " | "label": "basscounty", | ||
"nom": " | "nom": "Bass County", | ||
" | "color": "#b47340", | ||
" | "creation": "2021-06-09", | ||
"status": " | "disparition": "2021-07-14", | ||
"status": "❌" | |||
}, | }, | ||
{ | { | ||
"label": " | "label": "baron", | ||
"nom": " | "nom": "Le Club du Baron", | ||
" | "color": "#262d2d", | ||
" | "creation": "2021-06-12", | ||
"status": " | "disparition": "2021-08-18", | ||
"status": "❌" | |||
}, | }, | ||
{ | { | ||
"label": " | "label": "zetas", | ||
"nom": " | "nom": "Zetas", | ||
" | "color": "#928156", | ||
" | "creation": "2021-06-18", | ||
"disparition": null, | |||
"status": null | "status": null | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "mr4", | ||
"nom": " | "nom": "MR4", | ||
" | "color": "#1E263C", | ||
" | "creation": "2021-06-28", | ||
"status": " | "disparition": "2021-09-17", | ||
"status": "❌" | |||
}, | }, | ||
{ | { | ||
"label": " | "label": "forsaken", | ||
"nom": " | "nom": "Forsaken", | ||
" | "color": "#777777", | ||
" | "creation": "2021-07-14", | ||
"status": | "disparition": "2021-07-22", | ||
"status": "🤝" | |||
}, | |||
{ | |||
"label": "ankou", | |||
"nom": "Ankou", | |||
"color": "#382D1A", | |||
"creation": "2021-07-25", | |||
"disparition": "2021-08-08", | |||
"status": "❌" | |||
}, | }, | ||
{ | { | ||
"label": " | "label": "phoenix", | ||
"nom": " | "nom": "Phoenix", | ||
" | "color": "#12A3E2", | ||
" | "creation": "2021-08-03", | ||
"status": | "disparition": "2021-08-30", | ||
"status": "🤝" | |||
}, | }, | ||
{ | { | ||
"label": " | "label": "aesir", | ||
"nom": " | "nom": "Aesir", | ||
" | "color": "#0867B0", | ||
" | "creation": "2021-08-05", | ||
"status": | "disparition": "2021-09-02", | ||
"status": "❌" | |||
}, | }, | ||
{ | { | ||
"label": " | "label": "parias", | ||
"nom": " | "nom": "Les Parias", | ||
" | "color": "#58453A", | ||
" | "creation": "2021-08-15", | ||
"status": | "disparition": "2021-09-30", | ||
"status": "💥" | |||
}, | }, | ||
{ | { | ||
"label": " | "label": "ruche", | ||
"nom": " | "nom": "La Ruche", | ||
" | "color": "#f05a26", | ||
" | "creation": "2021-08-28", | ||
"status": " | "disparition": "2021-09-28", | ||
"status": "❌" | |||
}, | }, | ||
{ | { | ||
"label": " | "label": "syndicat", | ||
"nom": " | "nom": "Syndicat", | ||
" | "color": "#2E2821", | ||
" | "creation": "2021-09-01", | ||
"disparition": null, | |||
"status": null | "status": null | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "blackangels", | ||
"nom": " | "nom": "Black Angels", | ||
" | "color": "#A23C35", | ||
" | "creation": "2021-09-24", | ||
"disparition": null, | |||
"status": null | "status": null | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "wave", | ||
"nom": " | "nom": "Wave", | ||
" | "color": "#224D64", | ||
" | "creation": "2021-10-19", | ||
"disparition": null, | |||
"status": null | "status": null | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "aztecas", | ||
"nom": " | "nom": "Aztecas", | ||
" | "color": "#AAC1CC", | ||
" | "creation": "2021-10-22", | ||
"disparition": null, | |||
"status": null | "status": null | ||
} | } | ||
Ligne 174 : | Ligne 225 : | ||
}, | }, | ||
{ | { | ||
"name": " | "name": "drogue", | ||
"transform": [ | "transform": [ | ||
{ | { | ||
"type": "formula", | "type": "formula", | ||
"field": " | "field": "fin", | ||
"expr": "datum. | "expr": "datum.fin ? datum.fin : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))" | ||
} | } | ||
], | ], | ||
Ligne 185 : | Ligne 236 : | ||
"type": "json", | "type": "json", | ||
"parse": { | "parse": { | ||
" | "debut": "date:\"%Y-%m-%d\"", | ||
" | "fin": "date:\"%Y-%m-%d\"" | ||
} | } | ||
}, | }, | ||
"values": [ | "values": [ | ||
{ | { | ||
"label": " | "label": "lost", | ||
" | "debut": "2021-02-25", | ||
" | "fin": "2021-07-06" | ||
}, | |||
{ | |||
"label": "vagos", | |||
"debut": "2021-02-25", | |||
"fin": "2021-07-06" | |||
}, | |||
{ | |||
"label": "mano", | |||
"debut": "2021-05-27", | |||
"fin": "2021-07-06" | |||
}, | |||
{"label": "verts","debut": "2021-07-06","fin": "2021-11-21"}, | |||
{ | |||
"label": "nameless", | |||
"debut": "2021-07-06", | |||
"fin": "2021-07-26" | |||
}, | |||
{ | |||
"label": "zetas", | |||
"debut": "2021-07-26", | |||
"fin": "2021-10-14" | |||
}, | }, | ||
{ | { | ||
"label": " | "label": "ballas", | ||
" | "debut": "2021-10-14", | ||
" | "fin": null | ||
}, | |||
{ | |||
"label": "vagos", | |||
"debut": "2021-11-21", | |||
"fin": null | |||
} | } | ||
] | ] | ||
}, | }, | ||
{ | { | ||
"name": " | "name": "drogue-poulain", | ||
"transform": [ | "transform": [ | ||
{ | { | ||
"type": "formula", | "type": "formula", | ||
"field": " | "field": "fin", | ||
"expr": "datum. | "expr": "datum.fin ? datum.fin : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))" | ||
} | } | ||
], | ], | ||
Ligne 214 : | Ligne 291 : | ||
"type": "json", | "type": "json", | ||
"parse": { | "parse": { | ||
" | "debut": "date:\"%Y-%m-%d\"", | ||
" | "fin": "date:\"%Y-%m-%d\"" | ||
} | } | ||
}, | }, | ||
"values": [ | "values": [ | ||
{ | { | ||
"label": " | "label": "mano", | ||
" | "debut": "2021-05-10", | ||
" | "fin": "2021-05-19" | ||
}, | |||
{ | |||
"label": "ballas", | |||
"debut": "2021-06-01", | |||
"fin": "2021-07-01" | |||
}, | |||
{ | |||
"label": "reapers", | |||
"debut": "2021-06-01", | |||
"fin": "2021-07-01" | |||
}, | |||
{ | |||
"label": "verts", | |||
"debut": "2021-06-01", | |||
"fin": "2021-07-06" | |||
}, | |||
{ | |||
"label": "mr4", | |||
"debut": "2021-06-29", | |||
"fin": "2021-07-06" | |||
}, | |||
{ | |||
"label": "reapers", | |||
"debut": "2021-07-22", | |||
"fin": "2021-08-12" | |||
}, | |||
{ | |||
"label": "ballas", | |||
"debut": "2021-08-28", | |||
"fin": "2021-09-24" | |||
}, | }, | ||
{ | { | ||
"label": " | "label": "syndicat", | ||
" | "debut": "2021-10-02", | ||
" | "fin": "2021-10-20" | ||
} | } | ||
] | ] | ||
}, | }, | ||
{ | { | ||
"name": " | "name": "armes-poulain", | ||
"transform": [ | "transform": [ | ||
{ | { | ||
"type": "formula", | "type": "formula", | ||
"field": " | "field": "fin", | ||
"expr": "datum. | "expr": "datum.fin ? datum.fin : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))" | ||
} | } | ||
], | ], | ||
Ligne 243 : | Ligne 350 : | ||
"type": "json", | "type": "json", | ||
"parse": { | "parse": { | ||
" | "debut": "date:\"%Y-%m-%d\"", | ||
" | "fin": "date:\"%Y-%m-%d\"" | ||
} | } | ||
}, | }, | ||
"values": [ | "values": [ | ||
{ | { | ||
"label": " | "label": "wave", | ||
" | "debut": "2021-11-18", | ||
" | "fin": null | ||
} | |||
] | |||
}, | |||
{ | |||
"name": "blanchi", | |||
"transform": [ | |||
{ | |||
"type": "formula", | |||
"field": "fin", | |||
"expr": "datum.fin ? datum.fin : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))" | |||
} | |||
], | |||
"format": { | |||
"type": "json", | |||
"parse": { | |||
"debut": "date:\"%Y-%m-%d\"", | |||
"fin": "date:\"%Y-%m-%d\"" | |||
} | } | ||
}, | |||
"values": [ | |||
{ | |||
"label": "nameless", | |||
"debut": "2021-02-25", | |||
"fin": "2021-07-06" | |||
}, | |||
{ | |||
"label": "kkangpae", | |||
"debut": "2021-05-14", | |||
"fin": "2021-07-06" | |||
}, | |||
{"label": "lost","debut": "2021-06-07","fin": null}, | |||
{"label": "vagos","debut": "2021-06-07","fin": "2021-11-21"}, | |||
{"label": "verts","debut": "2021-11-21","fin": null} | |||
] | |||
}, | |||
{ | |||
"name": "armes", | |||
"transform": [ | |||
{ | |||
"type": "formula", | |||
"field": "fin", | |||
"expr": "datum.fin ? datum.fin : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))" | |||
} | |||
], | |||
"format": { | |||
"type": "json", | |||
"parse": { | |||
"debut": "date:\"%Y-%m-%d\"", | |||
"fin": "date:\"%Y-%m-%d\"" | |||
} | |||
}, | |||
"values": [ | |||
{"label": "mano","debut": "2021-07-06","fin": null}, | |||
{ | |||
"label": "kkangpae", | |||
"debut": "2021-07-06", | |||
"fin": "2021-10-13" | |||
}, | |||
{"label": "zetas","debut": "2021-10-14","fin": null} | |||
] | ] | ||
}, | }, | ||
Ligne 263 : | Ligne 428 : | ||
"values": [ | "values": [ | ||
{ | { | ||
"name": "06/07 - | "name": "25/02 - Premiers business", | ||
"date": "2021-02-25" | |||
}, | |||
{ | |||
"name": "27/05 - Nouvelle vague de la criminalité", | |||
"date": "2021-05-27" | |||
}, | |||
{ | |||
"name": "06/07 - Redistribution des business", | |||
"date": "2021-07-06" | "date": "2021-07-06" | ||
}, | }, | ||
{ | { | ||
"name": " | "name": "22/07 - Première « réunion des 6 »", | ||
"date": "2021- | "date": "2021-07-22" | ||
}, | |||
{ | |||
"name": "14/09 - Deuxième « réunion des 6 »", | |||
"date": "2021-09-14" | |||
}, | |||
{ | |||
"name": "13/10 - Démantèlement de Kkangpae", | |||
"date": "2021-10-13" | |||
}, | }, | ||
{"name": " | { | ||
"name": "18/11 - Accords de paix Mano-Vagos", | |||
"date": "2021-11-18" | |||
} | |||
] | ] | ||
} | } | ||
Ligne 279 : | Ligne 463 : | ||
"type": "ordinal", | "type": "ordinal", | ||
"range": "height", | "range": "height", | ||
"domain": {"data": " | "domain": {"data": "gangs","field": "label"} | ||
}, | }, | ||
{ | { | ||
Ligne 285 : | Ligne 469 : | ||
"type": "time", | "type": "time", | ||
"range": "width", | "range": "width", | ||
"nice": "month", | |||
"nice": " | "domain": {"data": "gangs","field": ["creation","disparition"]} | ||
"domain": { | |||
} | } | ||
], | ], | ||
Ligne 298 : | Ligne 478 : | ||
"scale": "x", | "scale": "x", | ||
"grid": true, | "grid": true, | ||
"format": "%m/%y" | "format": "%m/%y", | ||
"title": "🟢Drogue 🔵Blanchiment ⚫Armes" | |||
} | } | ||
], | ], | ||
Ligne 313 : | Ligne 494 : | ||
"text": {"field": "name"}, | "text": {"field": "name"}, | ||
"fontSize": {"value": 14} | "fontSize": {"value": 14} | ||
} | |||
} | |||
}, | |||
{ | |||
"type": "rect", | |||
"from": {"data": "events"}, | |||
"properties": { | |||
"enter": { | |||
"x": {"scale": "x","field": "date"}, | |||
"y": {"value": -20}, | |||
"width": {"value": 0.5}, | |||
"height": {"field": {"group": "height"},"offset": 20}, | |||
"fill": {"value": "#0090FF"} | |||
} | } | ||
} | } | ||
Ligne 318 : | Ligne 512 : | ||
{ | { | ||
"type": "text", | "type": "text", | ||
"from": {"data": " | "from": {"data": "gangs"}, | ||
"properties": { | "properties": { | ||
"enter": { | "enter": { | ||
"x": {"scale": "x","field": " | "x": {"scale": "x","field": "creation"}, | ||
"y": {"scale": "y","field": "label","offset": | "y": {"scale": "y","field": "label","offset": -7}, | ||
"fill": {"value": "#000"}, | "fill": {"value": "#000"}, | ||
"text": {"field": " | "text": {"field": "nom"}, | ||
"fontSize": {"value": 14} | "fontSize": {"value": 14} | ||
} | } | ||
Ligne 331 : | Ligne 525 : | ||
{ | { | ||
"type": "rect", | "type": "rect", | ||
"from": {"data": " | "from": {"data": "blanchi"}, | ||
"properties": { | "properties": { | ||
"enter": { | "enter": { | ||
"x": {"scale": "x","field": " | "x": {"scale": "x","field": "debut"}, | ||
" | "x2": {"scale": "x","field": "fin"}, | ||
"y": {"scale": "y","field": "label","offset": -3}, | |||
" | "height": {"value": 10}, | ||
"fill": {"value": "# | "fill": {"value": "#12A3E2"} | ||
} | } | ||
} | } | ||
Ligne 344 : | Ligne 538 : | ||
{ | { | ||
"type": "rect", | "type": "rect", | ||
"from": {"data": " | "from": {"data": "armes"}, | ||
"properties": { | "properties": { | ||
"enter": { | "enter": { | ||
"x": {"scale": "x","field": " | "x": {"scale": "x","field": "debut"}, | ||
"x2": {"scale": "x","field": " | "x2": {"scale": "x","field": "fin"}, | ||
"y": {"scale": "y","field": "label","offset": -3}, | "y": {"scale": "y","field": "label","offset": -3}, | ||
"height": {"value": 10}, | "height": {"value": 10}, | ||
"fill": {"value": "# | "fill": {"value": "#595959"} | ||
} | } | ||
} | } | ||
Ligne 357 : | Ligne 551 : | ||
{ | { | ||
"type": "rect", | "type": "rect", | ||
"from": {"data": " | "from": {"data": "drogue"}, | ||
"properties": { | "properties": { | ||
"enter": { | "enter": { | ||
"x": {"scale": "x","field": " | "x": {"scale": "x","field": "debut"}, | ||
"x2": {"scale": "x","field": " | "x2": {"scale": "x","field": "fin"}, | ||
"y": {"scale": "y","field": "label","offset": -3}, | "y": {"scale": "y","field": "label","offset": -3}, | ||
"height": {"value": 10}, | "height": {"value": 10}, | ||
"fill": {"value": "# | "fill": {"value": "#72B233"} | ||
} | |||
} | |||
}, | |||
{ | |||
"type": "rect", | |||
"from": {"data": "drogue-poulain"}, | |||
"properties": { | |||
"enter": { | |||
"x": {"scale": "x","field": "debut"}, | |||
"x2": {"scale": "x","field": "fin"}, | |||
"y": {"scale": "y","field": "label","offset": -1.5}, | |||
"height": {"value": 7}, | |||
"fill": {"value": "#72B233"} | |||
} | } | ||
} | } | ||
Ligne 370 : | Ligne 577 : | ||
{ | { | ||
"type": "rect", | "type": "rect", | ||
"from": {"data": " | "from": {"data": "armes-poulain"}, | ||
"properties": { | "properties": { | ||
"enter": { | "enter": { | ||
"x": {"scale": "x","field": " | "x": {"scale": "x","field": "debut"}, | ||
"x2": {"scale": "x","field": " | "x2": {"scale": "x","field": "fin"}, | ||
"y": {"scale": "y","field": "label","offset": -1.5}, | "y": {"scale": "y","field": "label","offset": -1.5}, | ||
"height": {"value": 7}, | "height": {"value": 7}, | ||
"fill": {"value": "# | "fill": {"value": "#595959"} | ||
} | } | ||
} | } | ||
Ligne 383 : | Ligne 590 : | ||
{ | { | ||
"type": "rect", | "type": "rect", | ||
"from": {"data": " | "from": {"data": "gangs"}, | ||
"properties": { | "properties": { | ||
"enter": { | "enter": { | ||
"x": {"scale": "x","field": " | "x": {"scale": "x","field": "creation"}, | ||
"x2": {"scale": "x","field": " | "x2": {"scale": "x","field": "disparition"}, | ||
"y": {"scale": "y","field": "label"}, | "y": {"scale": "y","field": "label"}, | ||
"height": {"value": 4}, | "height": {"value": 4}, | ||
"fill": {" | "fill": {"field": "color"} | ||
} | } | ||
} | } | ||
Ligne 396 : | Ligne 603 : | ||
{ | { | ||
"type": "text", | "type": "text", | ||
"from": {"data": " | "from": {"data": "gangs"}, | ||
"properties": { | "properties": { | ||
"enter": { | "enter": { | ||
"x": {"scale": "x","field": " | "x": {"scale": "x","field": "disparition","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} | ||
} | } |
Version du 25 novembre 2021 à 09:23