public Graph(Sidebar sidebar) { InitializeComponent(); DataContext = Model = new GraphModel(OPGraph); Model.BindData(sidebar.Model.MonitorManager); Show(); }