« Test » : différence entre les versions
De 21Wiki
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
{ | |||
"$schema": "https://vega.github.io/schema/vega/v5.json", | |||
"width": 800, | "width": 800, | ||
"height": 300, | "height": 300, | ||
"padding": 5, | |||
"data": [ | "data": [ | ||
{ | { | ||
| Ligne 13 : | Ligne 15 : | ||
{"label": "charlie", "nom": "Charlie Lucheco", "membre_start": "2021-08-07", "membre_end": "2021-08-22", "status": "💢"}, | {"label": "charlie", "nom": "Charlie Lucheco", "membre_start": "2021-08-07", "membre_end": "2021-08-22", "status": "💢"}, | ||
{"label": "jon", "nom": "Jon « Kira » Kino", "membre_start": "2021-08-26", "membre_end": "2021-08-30", "status": "💢"} | {"label": "jon", "nom": "Jon « Kira » Kino", "membre_start": "2021-08-26", "membre_end": "2021-08-30", "status": "💢"} | ||
], | |||
"transform": [ | |||
{ | |||
"type": "formula", | |||
"as": "membre_end", | |||
"expr": "datum.membre_end || now()" | |||
} | |||
], | ], | ||
"format": { | "format": { | ||
"parse": { | "parse": { | ||
"membre_start": "date", | "membre_start": "date", | ||
"membre_end": "date" | "membre_end": "date" | ||
} | } | ||
} | } | ||
}, | }, | ||
{ | { | ||
| Ligne 34 : | Ligne 35 : | ||
{"label": "josé", "second_start": "2021-08-05", "second_end": "2021-08-24"}, | {"label": "josé", "second_start": "2021-08-05", "second_end": "2021-08-24"}, | ||
{"label": "taylor", "second_start": "2021-08-24", "second_end": "2021-08-31"} | {"label": "taylor", "second_start": "2021-08-24", "second_end": "2021-08-31"} | ||
], | |||
"transform": [ | |||
{ | |||
"type": "formula", | |||
"as": "second_end", | |||
"expr": "datum.second_end || now()" | |||
} | |||
], | ], | ||
"format": { | "format": { | ||
"parse": { | "parse": { | ||
"second_start": "date", | "second_start": "date", | ||
"second_end": "date" | "second_end": "date" | ||
} | } | ||
} | } | ||
}, | }, | ||
{ | { | ||
| Ligne 54 : | Ligne 54 : | ||
"values": [ | "values": [ | ||
{"label": "jakub", "chef_start": "2021-08-05", "chef_end": "2021-09-02"} | {"label": "jakub", "chef_start": "2021-08-05", "chef_end": "2021-09-02"} | ||
], | |||
"transform": [ | |||
{ | |||
"type": "formula", | |||
"as": "chef_end", | |||
"expr": "datum.chef_end || now()" | |||
} | |||
], | ], | ||
"format": { | "format": { | ||
"parse": { | "parse": { | ||
"chef_start": "date", | "chef_start": "date", | ||
"chef_end": "date" | "chef_end": "date" | ||
} | } | ||
} | } | ||
}, | }, | ||
{ | { | ||
| Ligne 77 : | Ligne 76 : | ||
], | ], | ||
"format": { | "format": { | ||
"parse": { | "parse": { | ||
"date": "date" | "date": "date" | ||
| Ligne 83 : | Ligne 81 : | ||
} | } | ||
} | } | ||
] | ] | ||
} | |||
Version du 25 avril 2025 à 14:06
{
"$schema": "https://vega.github.io/schema/vega/v5.json", "width": 800, "height": 300, "padding": 5, "data": [ { "name": "membres", "values": [ {"label": "jakub", "nom": "Jakub Larsen-Li", "membre_start": "2021-08-05", "membre_end": "2021-09-02", "status": "❌"}, {"label": "josé", "nom": "José Fripougnon", "membre_start": "2021-08-05", "membre_end": "2021-08-24", "status": "❌"}, {"label": "josé", "nom": "José Fripougnon", "membre_start": "2021-08-31", "membre_end": "2021-09-02", "status": "❌"}, {"label": "taylor", "nom": "Taylor Newton", "membre_start": "2021-08-05", "membre_end": "2021-08-31", "status": "🚪"}, {"label": "benito", "nom": "Benito Folliero", "membre_start": "2021-08-07", "membre_end": "2021-09-02", "status": "❌"}, {"label": "charlie", "nom": "Charlie Lucheco", "membre_start": "2021-08-07", "membre_end": "2021-08-22", "status": "💢"}, {"label": "jon", "nom": "Jon « Kira » Kino", "membre_start": "2021-08-26", "membre_end": "2021-08-30", "status": "💢"} ], "transform": [ { "type": "formula", "as": "membre_end", "expr": "datum.membre_end || now()" } ], "format": { "parse": { "membre_start": "date", "membre_end": "date" } } }, { "name": "seconds", "values": [ {"label": "josé", "second_start": "2021-08-05", "second_end": "2021-08-24"}, {"label": "taylor", "second_start": "2021-08-24", "second_end": "2021-08-31"} ], "transform": [ { "type": "formula", "as": "second_end", "expr": "datum.second_end || now()" } ], "format": { "parse": { "second_start": "date", "second_end": "date" } } }, { "name": "chefs", "values": [ {"label": "jakub", "chef_start": "2021-08-05", "chef_end": "2021-09-02"} ], "transform": [ { "type": "formula", "as": "chef_end", "expr": "datum.chef_end || now()" } ], "format": { "parse": { "chef_start": "date", "chef_end": "date" } } }, { "name": "events", "values": [ {"name": "05/08 - Création du groupe", "date": "2021-08-05", "y": -20}, {"name": "02/09 - Dissolution du groupe", "date": "2021-09-02", "y": -20} ], "format": { "parse": { "date": "date" } } } ]
}
