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 30: | Zeile 30: | ||
{"x": "SoSe 2014", "y": 25}, | {"x": "SoSe 2014", "y": 25}, | ||
{"x": "WiSe 2014", "y": 14.3}, | {"x": "WiSe 2014", "y": 14.3}, | ||
{"x": "SoSe 2015", "y": 11.11 | {"x": "SoSe 2015", "y": 11.11} | ||
] | ] | ||
} | } | ||
Zeile 54: | Zeile 39: | ||
"type": "ordinal", | "type": "ordinal", | ||
"range": "width", | "range": "width", | ||
"domain": {"data": "table", "field": "x"} | "domain": {"data": "table", "field": "data.x"} | ||
}, | }, | ||
{ | { | ||
Zeile 60: | Zeile 45: | ||
"range": "height", | "range": "height", | ||
"nice": true, | "nice": true, | ||
"domain": {"data": "table", "field": "y"} | "domain": {"data": "table", "field": "data.y"} | ||
} | } | ||
], | ], | ||
Zeile 105: | Zeile 90: | ||
"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} | ||
}, | }, |