How to create a dashboard chart showing the actuals (completed) vs planned (not completed) tasks?

How to create a chart in a dashboard having two lines showing the actual number of finished tasks (completed) vs the planned number of not completed tasks (Not started, In Progress) on a timeline? Any help would be much appreciated.