{% set arg_filter = request.args.get('account_filter') %} {% include 'FavaExtTestInclude.html' %}


Test for asynchronously fetched data


Fava charts custom elements tests

Expected error: missing type

Expected error: unknown type

Expected error: invalid data type

This should render a chart


Tree-table test

{% set tree = extension.example_tree() %}

Portfolio (renders a query-table)

{% for portfolio in extension.portfolio_accounts(arg_filter) %}

{{ portfolio.title }}

{% endfor %}

Query table (postings by account) from BQL query.

{% set postings_per_account = 'SELECT account, count(account) ORDER BY account' %}