Vorlage:Graph:Stacked/Doku

Dokumentations-Unterseite Diese Seite ist eine Untervorlage von Vorlage:Graph:Stacked.

 Info: Die Hauptversion dieser Vorlage befindet sich unter Template:Graph:Stacked. Änderungswünsche sollten daher dort angefragt und durchgeführt und die Änderungen dann an die lokalen Kopien manuell verteilt werden.

Beispiele

{{Graph:Stacked

| table=Bea.gov/GDP by state.tab
| type=year | xField=year | barwidth=14
| series="TX","NY","CA"
| title=Per state GDP
}}

{{Graph:Stacked

| table=Bea.gov/GDP by state.tab
| type=year | xField=year | legend=States
| series="TX","NY","CA"
| title=Per state GDP
}}

Lua-Fehler in Modul:TNT, Zeile 141: attempt to index field 'data' (a nil value).

Lua-Fehler in Modul:TNT, Zeile 141: attempt to index field 'data' (a nil value).

{{Graph:Stacked
| tabletype=query | table=
SELECT ?decade (COUNT(?decade) AS ?count) WHERE {
  ?item wdt:P31 wd:Q3305213 .
  ?item wdt:P571 ?inception .
  BIND( year(?inception) as ?year ). 
  BIND( ROUND(?year/10)*10 as ?decade ) .
  FILTER( ?year > 1400)
} GROUP BY ?decade ORDER BY ?decade

| series="count" | type=year | xField=decade
| title=Paintings by decade
}}

{{Graph:Stacked
| tabletype=query | table=
SELECT   ?year  (COUNT(?_genre) AS ?count ) (SAMPLE(?_genreLabel) AS ?label ) WHERE {
  ?item wdt:P31 wd:Q11424.
  ?item wdt:P577 ?_publication_date.
  ?item wdt:P136 ?_genre.
  ?_genre rdfs:label ?_genreLabel.
  BIND(str(YEAR(?_publication_date)) AS ?year)
  FILTER((LANG(?_genreLabel)) = "en")
  
 FILTER (?_publication_date >= "2000-00-00T00:00:00Z"^^xsd:dateTime)
}
GROUP BY ?_genreLabel ?year
HAVING (?count > 30)

| type=year | xField=year | group=label | value=count | legend=-
| title=Number of films by year and genre
| xGrid=y | yGrid=y | colors="category20" | height=460 | barwidth=16
}}

Lua-Fehler in Modul:TNT, Zeile 141: attempt to index field 'data' (a nil value).

Lua-Fehler in Modul:TNT, Zeile 141: attempt to index field 'data' (a nil value).

Parameter

Lua-Fehler in Modul:TNT, Zeile 141: attempt to index field 'data' (a nil value)

Siehe auch

  • {{Graph:Lines}} für automatisch generierte Liniendiagramme