report: add generic view for tables and graphs