build_executive_report
Build a complete executive dashboard page from a JSON config, composing brand theme, KPI cards with sparklines, trend chart, and segment bar chart. Map config fields to any client model.
Instructions
RECIPE: build a complete premium 'Executive' dashboard page in ONE call from a JSON config. Composes a brand theme, a navy banner + gold seam, a slicer filter-bar, a row of premium KPI cards (value + delta + sparkline), a hero trend line, and a 'by segment' bar chart whose colour encodes growth. Point it at any client model by mapping the config fields. config = JSON with: title, subtitle, headline, headlineLabel, brandColor, accentColor, logoPath (brand kit - palette + logo in banner), canvasWidth/canvasHeight (default 1280x720; use 1920x1080 for a Full-HD pro report), factTable, dateTable, dateColumn, trendMeasure, segmentTable, segmentColumn, segmentValueMeasure, growthMeasure, slicers:[{table,column,title}], kpis:[{measure,label,delta,trend}].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | JSON config mapping the recipe to the client model | |
| reportSessionId | Yes |