{# Vertical bar chart — top N most expensive jobs by cost. Built on the same ECharts + ChartUtils helpers governor-web uses for the daily spend trend (packages/web/.../static/js/dashboard-charts.js). Audit shows per-job spend instead of per-day because the audit window doesn't have a meaningful date axis (single point-in-time scan). #}

Top {{ chart_jobs | length }} Spenders

The 20 highest-cost query executions in the scan window, coloured by issue count. Select a bar to open its opportunity.

{% if chart_jobs %} {# Legend — bar colour encodes how many detection rules fired on each job. Pairs with the per-bar tooltip "Issues: N" line. #}
No issues 1–2 issues 3+ issues
{% else %}

No spend data available yet.

{% endif %}
{% if chart_jobs %} {% endif %}