Vorlage:FSR-Frauenanteil-Graph: Unterschied zwischen den Versionen

Aus Fachschaft_Informatik
Zur Navigation springen Zur Suche springen
(aktualisiert)
Keine Bearbeitungszusammenfassung
(5 dazwischenliegende Versionen von 5 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<graph>
<graph>
{
{
   "width": 700, "height": 200,
   "version": 2, "width": 700, "height": 200,
   "padding": {"top": 10, "left": 30, "bottom": 50, "right": 30},
   "padding": {"top": 10, "left": 30, "bottom": 50, "right": 30},
   "data": [
   "data": [
Zeile 35: Zeile 35:
         {"x": "WiSe 2016",  "y": 7.14},
         {"x": "WiSe 2016",  "y": 7.14},
         {"x": "SoSe 2017",  "y": 0},
         {"x": "SoSe 2017",  "y": 0},
        {"x": "WiSe 2018",  "y": 18.18},
        {"x": "SoSe 2018",  "y": 25},
        {"x": "WiSe 2018/19",  "y": 33},
        {"x": "WiSe 2018/19 II",  "y": 25},
        {"x": "SoSe 2019", "y": 33},
       ]
       ]
     }
     }
Zeile 43: Zeile 48:
       "type": "ordinal",
       "type": "ordinal",
       "range": "width",
       "range": "width",
       "domain": {"data": "table", "field": "data.x"}
       "domain": {"data": "table", "field": "x"}
     },
     },
     {
     {
Zeile 49: Zeile 54:
       "range": "height",
       "range": "height",
       "nice": true,
       "nice": true,
       "domain": {"data": "table", "field": "data.y"}
       "domain": {"data": "table", "field": "y"}
     }
     }
   ],
   ],
Zeile 94: Zeile 99:
       "properties": {
       "properties": {
         "enter": {
         "enter": {
           "x": {"scale": "x", "field": "data.x"},
           "x": {"scale": "x", "field": "x"},
           "width": {"scale": "x", "band": true, "offset": -1},
           "width": {"scale": "x", "band": true, "offset": -1},
           "y": {"scale": "y", "field": "data.y"},
           "y": {"scale": "y", "field": "y"},
           "y2": {"scale": "y", "value": 0}
           "y2": {"scale": "y", "value": 0}
         },
         },

Version vom 28. Oktober 2020, 22:06 Uhr