create directive for chart

- no need for project overview
- project view uses directive
- moved existing unit tests for project overview to directive unit tests