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

Aus Fachschaft_Informatik
Zur Navigation springen Zur Suche springen
(Werte aus Liste übernommen)
Keine Bearbeitungszusammenfassung
(4 dazwischenliegende Versionen von 4 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 37: Zeile 37:
         {"x": "WiSe 2018",  "y": 18.18},
         {"x": "WiSe 2018",  "y": 18.18},
         {"x": "SoSe 2018",  "y": 25},
         {"x": "SoSe 2018",  "y": 25},
        {"x": "WiSe 2018/19",  "y": 33},
        {"x": "WiSe 2018/19 II",  "y": 25},
        {"x": "SoSe 2019", "y": 33},
       ]
       ]
     }
     }
Zeile 45: Zeile 48:
       "type": "ordinal",
       "type": "ordinal",
       "range": "width",
       "range": "width",
       "domain": {"data": "table", "field": "data.x"}
       "domain": {"data": "table", "field": "x"}
     },
     },
     {
     {
Zeile 51: Zeile 54:
       "range": "height",
       "range": "height",
       "nice": true,
       "nice": true,
       "domain": {"data": "table", "field": "data.y"}
       "domain": {"data": "table", "field": "y"}
     }
     }
   ],
   ],
Zeile 96: 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