Complete dashboard configuration. Used by agentic workflows to generate data dashboards for any article type using data from European Parliament MCP, World Bank API, or other sources.
const dashboard: DashboardConfig = { title: 'Legislative Activity Overview', panels: [ { title: 'Voting Statistics', metrics: [ { label: 'Total Votes', value: '1,234', trend: 'up', change: 5.2 }, { label: 'Participation Rate', value: '87%', trend: 'stable' }, ], chart: { type: 'bar', data: { labels: ['EPP', 'S&D', 'Renew', 'Greens/EFA'], datasets: [{ label: 'Votes Cast', data: [400, 350, 200, 150] }], }, }, }, ],}; Copy
const dashboard: DashboardConfig = { title: 'Legislative Activity Overview', panels: [ { title: 'Voting Statistics', metrics: [ { label: 'Total Votes', value: '1,234', trend: 'up', change: 5.2 }, { label: 'Participation Rate', value: '87%', trend: 'stable' }, ], chart: { type: 'bar', data: { labels: ['EPP', 'S&D', 'Renew', 'Greens/EFA'], datasets: [{ label: 'Votes Cast', data: [400, 350, 200, 150] }], }, }, }, ],};
Optional
Readonly
Dashboard heading
Dashboard panels — each contains metrics and/or a chart
Complete dashboard configuration. Used by agentic workflows to generate data dashboards for any article type using data from European Parliament MCP, World Bank API, or other sources.
Example