Vorlage:Graph:ToteNachAutorInnen: Unterschied zwischen den Versionen

Aus Puerto Patida Wiki
Zur Navigation springen Zur Suche springen
(Zeige Datum des Datenstandes an)
(Zeige Tooltips dauerhaft)
Zeile 185: Zeile 185:
 
     {
 
     {
 
       "type": "text",
 
       "type": "text",
 +
      "from": {"data": "table"},
 
       "properties": {
 
       "properties": {
         "enter": {
+
         "update": {
 
           "align": {"value": "center"},
 
           "align": {"value": "center"},
           "fill": {"value": "#333"}
+
           "fill": {"value": "#333"},
        },
+
           "x": {"scale": "x", "field": "AutorIn"},
        "update": {
 
           "x": {"scale": "x", "signal": "tooltip.AutorIn"},
 
 
           "dx": {"scale": "x", "band": true, "mult": 0.5},
 
           "dx": {"scale": "x", "band": true, "mult": 0.5},
           "y": {"scale": "y", "signal": "tooltip.Anzahl", "offset": -5},
+
           "y": {"scale": "y", "field": "Anzahl", "offset": -5},
           "text": {"signal": "tooltip.Anzahl"},
+
           "text": {"field": "Anzahl"},
 
           "fontSize": {"value": {{{fontSize|14}}} },
 
           "fontSize": {"value": {{{fontSize|14}}} },
          "fillOpacity": [
 
            { "test": "!tooltip._id",
 
              "value": 0
 
            },
 
            {"value": 1}
 
          ]
 
 
         }
 
         }
 
       }
 
       }

Version vom 5. Oktober 2017, 10:09 Uhr

Die Statistik über die Anzahl der verstorbenen KandidatInnen nach AutorInnen. Die zugrunde liegenden Daten können in der Daten-Vorlage angepasst werden

Vorschau