Bearbeiten von „Vorlage:FSR-Frauenanteil-Graph“
Zur Navigation springen
Zur Suche springen
Warnung: Du bist nicht angemeldet. Deine IP-Adresse wird bei Bearbeitungen öffentlich sichtbar. Melde dich an oder erstelle ein Benutzerkonto, damit Bearbeitungen deinem Benutzernamen zugeordnet werden.
Die Bearbeitung kann rückgängig gemacht werden. Bitte prüfe den Vergleich unten, um sicherzustellen, dass du dies tun möchtest, und veröffentliche dann unten deine Änderungen, um die Bearbeitung rückgängig zu machen.
Aktuelle Version | Dein Text | ||
Zeile 1: | Zeile 1: | ||
<graph> | <graph> | ||
{ | { | ||
"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 39: | Zeile 39: | ||
{"x": "WiSe 2018/19", "y": 33}, | {"x": "WiSe 2018/19", "y": 33}, | ||
{"x": "WiSe 2018/19 II", "y": 25}, | {"x": "WiSe 2018/19 II", "y": 25}, | ||
] | ] | ||
} | } | ||
Zeile 54: | Zeile 47: | ||
"type": "ordinal", | "type": "ordinal", | ||
"range": "width", | "range": "width", | ||
"domain": {"data": "table", "field": "x"} | "domain": {"data": "table", "field": "data.x"} | ||
}, | }, | ||
{ | { | ||
Zeile 60: | Zeile 53: | ||
"range": "height", | "range": "height", | ||
"nice": true, | "nice": true, | ||
"domain": {"data": "table", "field": "y"} | "domain": {"data": "table", "field": "data.y"} | ||
} | } | ||
], | ], | ||
Zeile 105: | Zeile 98: | ||
"properties": { | "properties": { | ||
"enter": { | "enter": { | ||
"x": {"scale": "x", "field": "x"}, | "x": {"scale": "x", "field": "data.x"}, | ||
"width": {"scale": "x", "band": true, "offset": -1}, | "width": {"scale": "x", "band": true, "offset": -1}, | ||
"y": {"scale": "y", "field": "y"}, | "y": {"scale": "y", "field": "data.y"}, | ||
"y2": {"scale": "y", "value": 0} | "y2": {"scale": "y", "value": 0} | ||
}, | }, |