{# shared pieces of the app overviews #} {% macro short(v) -%}{% set u = v / 1000 %}{{ ('%gM'|format((u / 1000000)|round(1))) if u|abs >= 1000000 else ('%gk'|format((u / 1000)|round(1))) if u|abs >= 1000 else '%g'|format(u|round(0)) }}{%- endmacro %} {% macro month_bars(months, series, peak, scale, currency, l1, l2=None) %}