public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            UIBarButtonItem button = new UIBarButtonItem();

            button.Title = "Settings";
            this.Title   = "Chart";

            button.Clicked += delegate(object sender, EventArgs e) {
                controller = new SettingsController(chart, this, UITableViewStyle.Grouped);
                NavigationController.PushViewController(controller, true);
            };

            this.NavigationItem.SetRightBarButtonItem(button, true);
        }
 public SettingsDelegate(SettingsController controller, ChartViewController chartController)
 {
     _controller      = controller;
     _chartController = chartController;
 }