AML Dashboard Blocks
A dashboard is built from blocks. Each block is declared with block <name>: <Type> { ... } inside a Dashboard and occupies a position in the canvas layout.
There are four block types:
- TextBlock: displays Markdown or HTML content
- VizBlock: wraps a chart, table, or KPI visualization
- FilterBlock: adds a user-controlled filter
- DateDrillBlock: lets viewers switch time granularity across charts
Dashboard my_dashboard {
block t1: TextBlock { ... }
block v1: VizBlock { ... }
block f1: FilterBlock { ... }
block d1: DateDrillBlock { ... }
}
Each block's position in the dashboard is defined in the view section. See AML Dashboard for the full syntax including layout, interactions, and settings.