« Fox » : différence entre les versions

De 21Wiki
(Logo Gang)
Aucun résumé des modifications
Balise : Éditeur de wikicode 2017
Ligne 15 : Ligne 15 :
==Chronologie==
==Chronologie==
<graph>{
<graph>{
  "width": 800,
"width": 800,
  "height": 500,
"height": 300,
  "data": [
"data": [
    {
{
      "name": "membres",
"name": "membres",
      "transform": [
"transform": [
        {
{
          "type": "formula",
"type": "formula",
          "field": "membre_end",
"field": "membre_end",
          "expr": "datum.membre_end ? datum.membre_end : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
"expr": "datum.membre_end ? datum.membre_end : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
        }
}
      ],
],
      "format": {
"format": {
        "type": "json",
"type": "json",
        "parse": {
"parse": {
          "membre_start": "date:\"%Y-%m-%d\"",
"membre_start": "date:\"%Y-%m-%d\"",
          "membre_end": "date:\"%Y-%m-%d\""
"membre_end": "date:\"%Y-%m-%d\""
        }
}
      },
},
      "values": [
"values": [
         {
         {
           "label": "stany",
           "label": "stany",
Ligne 56 : Ligne 56 :
           "status": null
           "status": null
         }
         }
      ]
]
    },
},
    {
{
      "name": "seconds",
"name": "seconds",
      "transform": [
"transform": [
        {
{
          "type": "formula",
"type": "formula",
          "field": "second_end",
"field": "second_end",
          "expr": "datum.second_end ? datum.second_end : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
"expr": "datum.second_end ? datum.second_end : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
        }
}
      ],
],
      "format": {
"format": {
        "type": "json",
"type": "json",
        "parse": {
"parse": {
          "second_start": "date:\"%Y-%m-%d\"",
"second_start": "date:\"%Y-%m-%d\"",
          "second_end": "date:\"%Y-%m-%d\""
"second_end": "date:\"%Y-%m-%d\""
        }
}
      },
},
      "values": [
"values": [
         {
         {
           "label": "elliot",
           "label": "elliot",
Ligne 80 : Ligne 80 :
           "second_end": null
           "second_end": null
         }
         }
      ]
]
    },
},
    {
{
      "name": "chefs",
"name": "chefs",
      "transform": [
"transform": [
        {
{
          "type": "formula",
"type": "formula",
          "field": "chef_end",
"field": "chef_end",
          "expr": "datum.chef_end ? datum.chef_end : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
"expr": "datum.chef_end ? datum.chef_end : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
        }
}
      ],
],
      "format": {
"format": {
        "type": "json",
"type": "json",
        "parse": {
"parse": {
          "chef_start": "date:\"%Y-%m-%d\"",
"chef_start": "date:\"%Y-%m-%d\"",
          "chef_end": "date:\"%Y-%m-%d\""
"chef_end": "date:\"%Y-%m-%d\""
        }
}
      },
},
      "values": [
"values": [
         {
         {
           "label": "stany",
           "label": "stany",
Ligne 104 : Ligne 104 :
           "chef_end": null
           "chef_end": null
         }
         }
      ]
]
    },
},
    {
{
      "name": "eventxt",
"name": "eventxt",
      "format": {
"format": {
        "type": "json",
"type": "json",
        "parse": {"date": "date:\"%Y-%m-%d\""}
"parse": {
      },
"date": "date:\"%Y-%m-%d\""
      "values": [
}
},
"values": [
         {
         {
           "name": "21/05 - Création du groupe",
           "name": "21/05 - Création du groupe",
           "date": "2023-01-10",
           "date": "2023-05-21",
           "y": -20
           "y": -20
         }
         }
      ]
]
    },
},
    {
{
      "name": "events",
"name": "events",
      "format": {
"format": {
        "type": "json",
"type": "json",
        "parse": {"date": "date:\"%Y-%m-%d\""}
"parse": {
      },
"date": "date:\"%Y-%m-%d\""
      "values": [
}
},
"values": [
         {
         {
           "name": 21/05 - Création du groupe",
           "name": "21/05 - Création du groupe",
           "date": "2023-01-10",
           "date": "2023-05-21",
           "y": -20
           "y": -20
         }
         }
      ]
]
    }
}
  ],
],
  "scales": [
"scales": [
    {
{
      "name": "y",
"name": "y",
      "type": "ordinal",
"type": "ordinal",
      "range": "height",
"range": "height",
      "domain": {"data": "membres","field": "label"}
"domain": {
    },
"data": "membres",
    {
"field": "label"
      "name": "x",
}
      "type": "time",
},
      "range": "width",
{
      "round": false,
"name": "x",
      "nice": "month",
"type": "time",
      "domain": {
"range": "width",
        "data": "membres",
"nice": "week",
        "field": ["membre_start","membre_end"]
"domain": {
      }
"data": "membres",
    }
"field": [
  ],
"membre_start",
  "axes": [
"membre_end"
    {
]
      "type": "x",
}
      "scale": "x",
}
      "grid": true,
],
      "format": "%m/%y",
"axes": [
      "title": "✈️départ de l'île / ⚰️Décès / 🚪 départ consenti / ❌ Dissout / 👮 Démantèlement / 💢 Trahison / 📢 Renvoi "
{
    }
"type": "x",
  ],
"scale": "x",
  "marks": [
"grid": true,
    {
"format": "%m/%y",
      "type": "text",
"title": "✈️départ de l'île / ⚰️Décès / 🚪 départ consenti / ❌ Dissout / 👮 Démantèlement / 💢 Trahison / 📢 Renvoi "
      "from": {"data": "eventxt"},
}
      "properties": {
],
        "enter": {
"marks": [
          "x": {"scale": "x","field": "date"},
{
          "y": {"field": "y"},
"type": "text",
          "angle": {"value": -30},
"from": {
          "fill": {"value": "#000"},
"data": "eventxt"
          "text": {"field": "name"},
},
          "fontSize": {"value": 14}
"properties": {
        }
"enter": {
      }
"x": {
    },
"scale": "x",
    {
"field": "date"
      "type": "rect",
},
      "from": {"data": "eventxt"},
"y": {
      "properties": {
"field": "y"
        "enter": {
},
          "x": {"scale": "x","field": "date"},
"angle": {
          "y": {"field": "y"},
"value": -30
          "width": {"value": 0.5},
},
          "height": {"field": {"group": "height"},"offset": 20},
"fill": {
          "fill": {"value": "#0090FF"}
"value": "#000"
        }
},
      }
"text": {
    },
"field": "name"
    {
},
      "type": "rect",
"fontSize": {
      "from": {"data": "events"},
"value": 14
      "properties": {
}
        "enter": {
}
          "x": {"scale": "x","field": "date"},
}
          "y": {"field": "y"},
},
          "width": {"value": 0.5},
{
          "height": {"field": {"group": "height"},"offset": 20},
"type": "rect",
          "fill": {"value": "#0090FF"}
"from": {
        }
"data": "eventxt"
      }
},
    },
"properties": {
    {
"enter": {
      "type": "text",
"x": {
      "from": {"data": "membres"},
"scale": "x",
      "properties": {
"field": "date"
        "enter": {
},
          "x": {"scale": "x","field": "membre_end","offset": -2},
"y": {
          "y": {"scale": "y","field": "label","offset": 6},
"field": "y"
          "fill": {"value": "#000"},
},
          "text": {"field": "status"},
"width": {
          "fontSize": {"value": 14}
"value": 0.5
        }
},
      }
"height": {
    },
"field": {
    {
"group": "height"
      "type": "rect",
},
      "from": {"data": "chefs"},
"offset": 20
      "properties": {
},
        "enter": {
"fill": {
          "x": {"scale": "x","field": "chef_start"},
"value": "#0090FF"
          "x2": {"scale": "x","field": "chef_end"},
}
          "y": {"scale": "y","field": "label","offset": -3},
}
          "height": {"value": 10},
}
          "fill": {"value": "#FFA500"}
},
        }
{
      }
"type": "rect",
    },
"from": {
    {
"data": "events"
      "type": "rect",
},
      "from": {"data": "seconds"},
"properties": {
      "properties": {
"enter": {
        "enter": {
"x": {
          "x": {"scale": "x","field": "second_start"},
"scale": "x",
          "x2": {"scale": "x","field": "second_end"},
"field": "date"
          "y": {"scale": "y","field": "label","offset": -3},
},
          "height": {"value": 10},
"y": {
          "fill": {"value": "#ffd27f"}
"field": "y"
        }
},
      }
"width": {
    },
"value": 0.5
    {
},
      "type": "rect",
"height": {
      "from": {"data": "membres"},
"field": {
      "properties": {
"group": "height"
        "enter": {
},
          "x": {"scale": "x","field": "membre_start"},
"offset": 20
          "x2": {"scale": "x","field": "membre_end"},
},
          "y": {"scale": "y","field": "label"},
"fill": {
          "height": {"value": 4},
"value": "#0090FF"
          "fill": {"value": "#000"}
}
        }
}
      }
}
    },
},
    {
{
      "type": "text",
"type": "text",
      "from": {"data": "membres"},
"from": {
      "properties": {
"data": "membres"
        "enter": {
},
          "x": {"scale": "x","field": "membre_start"},
"properties": {
          "y": {"scale": "y","field": "label","offset": -7},
"enter": {
          "fill": {"value": "#000"},
"x": {
          "text": {"field": "nom"},
"scale": "x",
          "fontSize": {"value": 14}
"field": "membre_end",
        }
"offset": -2
      }
},
    }
"y": {
  ]
"scale": "y",
"field": "label",
"offset": 6
},
"fill": {
"value": "#000"
},
"text": {
"field": "status"
},
"fontSize": {
"value": 14
}
}
}
},
{
"type": "rect",
"from": {
"data": "chefs"
},
"properties": {
"enter": {
"x": {
"scale": "x",
"field": "chef_start"
},
"x2": {
"scale": "x",
"field": "chef_end"
},
"y": {
"scale": "y",
"field": "label",
"offset": -3
},
"height": {
"value": 10
},
"fill": {
"value": "#FF4500"
}
}
}
},
{
"type": "rect",
"from": {
"data": "seconds"
},
"properties": {
"enter": {
"x": {
"scale": "x",
"field": "second_start"
},
"x2": {
"scale": "x",
"field": "second_end"
},
"y": {
"scale": "y",
"field": "label",
"offset": -3
},
"height": {
"value": 10
},
"fill": {
"value": "#FF8C00"
}
}
}
},
{
"type": "rect",
"from": {
"data": "membres"
},
"properties": {
"enter": {
"x": {
"scale": "x",
"field": "membre_start"
},
"x2": {
"scale": "x",
"field": "membre_end"
},
"y": {
"scale": "y",
"field": "label"
},
"height": {
"value": 4
},
"fill": {
"value": "#FFA500"
}
}
}
},
{
"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
}
}
}
}
]
}</graph>
}</graph>



Version du 28 mai 2023 à 17:52


Organisation

Chef de gang

Numéro 2

Membres

Anciens Membres

Histoire

Chronologie

Cadre orange foncé : Chef

Cadre orange clair : Second

Anecdotes

Galerie