« 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 4 : | Ligne 4 : | ||
"data": [ | "data": [ | ||
{ | { | ||
"name": " | "name": "gangs", | ||
"format": { | "format": { | ||
"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": "#5F5F5F", | ||
" | "creation": "2021-02-01", | ||
" | "disparition": "2021-10-30" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "vagos", | ||
"nom": " | "nom": "Vagos", | ||
" | "color": "#FFE198", | ||
" | "creation": "2021-02-01", | ||
" | "disparition": "2021-10-30" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "nameless", | ||
"nom": " | "nom": "Nameless", | ||
" | "color": "#D6994E", | ||
" | "creation": "2021-02-01", | ||
" | "disparition": "2021-08-03" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "mano", | ||
"nom": " | "nom": "La Mano", | ||
" | "color": "#131313", | ||
" | "creation": "2021-05-11", | ||
" | "disparition": "2021-10-30" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "kkangpae", | ||
"nom": " | "nom": "KkangPae", | ||
" | "color": "#EC6B5E", | ||
" | "creation": "2021-05-14", | ||
" | "disparition": "2021-10-14" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "verts", | ||
"nom": " | "nom": "Les Verts", | ||
" | "color": "#387238", | ||
" | "creation": "2021-05-19", | ||
" | "disparition": "2021-10-30" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "syndicate", | ||
"nom": " | "nom": "Syndicate", | ||
" | "color": "#777777", | ||
" | "creation": "2021-05-20", | ||
" | "disparition": "2021-05-30" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "reapers", | ||
"nom": " | "nom": "Reapers", | ||
" | "color": "#9F483F", | ||
" | "creation": "2021-05-24", | ||
" | "disparition": "2021-08-29" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "ballas", | ||
"nom": " | "nom": "Ballas", | ||
" | "color": "#783E9A", | ||
" | "creation": "2021-05-26", | ||
" | "disparition": "2021-10-30" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "basscounty", | ||
"nom": " | "nom": "Bass County", | ||
" | "color": "#b47340", | ||
" | "creation": "2021-06-09", | ||
" | "disparition": "2021-07-14" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "baron", | ||
"nom": " | "nom": "Le Club du Baron", | ||
" | "color": "#262d2d", | ||
" | "creation": "2021-06-12", | ||
" | "disparition": "2021-08-18" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "zetas", | ||
"nom": " | "nom": "Zetas", | ||
" | "color": "#928156", | ||
" | "creation": "2021-06-18", | ||
" | "disparition": "2021-10-30" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "mr4", | ||
"nom": " | "nom": "MR4", | ||
" | "color": "#1E263C", | ||
" | "creation": "2021-06-28", | ||
" | "disparition": "2021-09-17" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "forsaken", | ||
"nom": " | "nom": "Forsaken", | ||
" | "color": "#777777", | ||
" | "creation": "2021-07-14", | ||
" | "disparition": "2021-07-22" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "ankou", | ||
"nom": " | "nom": "Ankou", | ||
" | "color": "#382D1A", | ||
" | "creation": "2021-07-25", | ||
" | "disparition": "2021-08-08" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "phoenix", | ||
"nom": " | "nom": "Phoenix", | ||
" | "color": "#12A3E2", | ||
" | "creation": "2021-08-03", | ||
" | "disparition": "2021-08-30" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "aesir", | ||
"nom": " | "nom": "Aesir", | ||
" | "color": "#0867B0", | ||
" | "creation": "2021-08-05", | ||
" | "disparition": "2021-09-02" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "parias", | ||
"nom": " | "nom": "Les Parias", | ||
" | "color": "#58453A", | ||
" | "creation": "2021-08-15", | ||
" | "disparition": "2021-09-30" | ||
}, | }, | ||
{ | { | ||
"label": " | "label": "ruche", | ||
"nom": " | "nom": "La Ruche", | ||
" | "color": "#f05a26", | ||
" | "creation": "2021-08-28", | ||
" | "disparition": "2021-09-28" | ||
}, | |||
{ | |||
"label": "syndicat", | |||
"nom": "Syndicat", | |||
"color": "#2E2821", | |||
"creation": "2021-09-01", | |||
"disparition": "2021-10-30" | |||
}, | |||
{ | |||
"label": "blackangels", | |||
"nom": "Black Angels", | |||
"color": "#A23C35", | |||
"creation": "2021-09-24", | |||
"disparition": "2021-10-30" | |||
}, | |||
{ | |||
"label": "waves", | |||
"nom": "Waves", | |||
"color": "#224D64", | |||
"creation": "2021-10-19", | |||
"disparition": "2021-10-30" | |||
}, | |||
{ | |||
"label": "aztecas", | |||
"nom": "Aztecas", | |||
"color": "#AAC1CC", | |||
"creation": "2021-10-22", | |||
"disparition": "2021-10-30" | |||
} | } | ||
] | ] | ||
}, | }, | ||
{ | { | ||
"name": " | "name": "drogue", | ||
"format": { | "format": { | ||
"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": " | "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-10-30" | |||
}, | |||
{ | |||
"label": "nameless", | |||
"debut": "2021-07-06", | |||
"fin": "2021-07-26" | |||
}, | |||
{ | |||
"label": "zetas", | |||
"debut": "2021-07-26", | |||
"fin": "2021-10-14" | |||
}, | |||
{ | |||
"label": "ballas", | |||
"debut": "2021-10-14", | |||
"fin": "2021-10-30" | |||
} | } | ||
] | ] | ||
}, | }, | ||
{ | { | ||
"name": " | "name": "blanchi", | ||
"format": { | "format": { | ||
"type": "json", | "type": "json", | ||
"parse": { | "parse": { | ||
" | "debut": "date:\"%Y-%m-%d\"", | ||
" | "fin": "date:\"%Y-%m-%d\"" | ||
} | } | ||
}, | }, | ||
"values": [ | "values": [ | ||
{ | { | ||
"label": " | "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": "2021-10-30" | |||
}, | |||
{ | |||
"label": "vagos", | |||
"debut": "2021-06-07", | |||
"fin": "2021-10-30" | |||
} | } | ||
] | ] | ||
}, | }, | ||
{ | { | ||
"name": " | "name": "armes", | ||
"format": { | "format": { | ||
"type": "json", | "type": "json", | ||
"parse": {"date": "date:\"%Y-%m-%d\""} | "parse": { | ||
"debut": "date:\"%Y-%m-%d\"", | |||
"fin": "date:\"%Y-%m-%d\"" | |||
} | |||
}, | }, | ||
"values": [ | "values": [ | ||
{" | { | ||
{" | "label": "mano", | ||
{" | "debut": "2021-07-06", | ||
"fin": "2021-10-30" | |||
}, | |||
{ | |||
"label": "kkangpae", | |||
"debut": "2021-07-06", | |||
"fin": "2021-10-14" | |||
}, | |||
{ | |||
"label": "zetas", | |||
"debut": "2021-10-14", | |||
"fin": "2021-10-30" | |||
} | |||
] | ] | ||
} | } | ||
Ligne 205 : | Ligne 288 : | ||
"type": "ordinal", | "type": "ordinal", | ||
"range": "height", | "range": "height", | ||
"domain": {"data": " | "domain": {"data": "gangs","field": "label"} | ||
}, | }, | ||
{ | { | ||
Ligne 211 : | Ligne 294 : | ||
"type": "time", | "type": "time", | ||
"range": "width", | "range": "width", | ||
"nice": "month", | "nice": "month", | ||
"domain": { | "domain": {"data": "gangs","field": ["creation","disparition"]} | ||
} | } | ||
], | ], | ||
Ligne 224 : | Ligne 303 : | ||
"scale": "x", | "scale": "x", | ||
"grid": true, | "grid": true, | ||
"format": "%m/%y" | "format": "%m/%y", | ||
"title": "🟢Drogue ⚪Blanchiment ⚫Armes" | |||
} | } | ||
], | ], | ||
Ligne 230 : | Ligne 310 : | ||
{ | { | ||
"type": "text", | "type": "text", | ||
"from": {"data": " | "from": {"data": "gangs"}, | ||
"properties": { | "properties": { | ||
"enter": { | "enter": { | ||
"x": {"scale": "x","field": " | "x": {"scale": "x","field": "creation"}, | ||
"y": {" | "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 257 : | Ligne 323 : | ||
{ | { | ||
"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": "#D8D8FF"} | ||
} | } | ||
} | } | ||
Ligne 270 : | Ligne 336 : | ||
{ | { | ||
"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 283 : | Ligne 349 : | ||
{ | { | ||
"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"} | ||
} | } | ||
} | } | ||
Ligne 296 : | Ligne 362 : | ||
{ | { | ||
"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"} | ||
} | } | ||
} | } |