public ActivityGraphController(ActivityGraphControl control, TasksListController tasksController)
        {
            this.control = control;
            this.tasksController = tasksController;
            this.chartRenderer = new ChartRenderer();

            this.control.Resize += this.ControlResized;
            this.control.Panel.Paint += this.PaintPanel;
            this.tasksController.SelectionChanged += this.tasksController_SelectionChanged;
        }