For developers
Rendering
Each element renders an iframe pointing at the Klimadashboard embed route:
https://klimadashboard.de/embed/<chartId>?auto=true®ion=<regionId>&lang=de&skin=<skinId>&<chart options>
With auto=true the embed reports its height via post
({type: 'klimadashboard-). The script
Resources/ resizes the matching iframe after
checking the sender's origin and window. Fixed-height elements omit auto.
The data processor Klimadashboard
provides {klimadashboard., {klimadashboard.,
{klimadashboard., {klimadashboard. and more to the
template.
APIs used
All endpoints are public and read-only; responses are cached in the cache
klimadashboard.
| Endpoint | Used for |
|---|---|
base. | Chart picker and iframe titles |
base. | Region select |
klimadashboard.*/ | Skin select |
klimadashboard.*/ | Chart-specific options |
Chart options are stored as a query string in
tt_, e.g. mode=bestand.
Clear the API cache with Flush all caches or
vendor/.