private void GraphView(ExampleInfo exampleInfo) { RectangleF plotFrame = UIScreen.MainScreen.Bounds; if (UIApplication.SharedApplication.StatusBarOrientation == UIInterfaceOrientation.LandscapeLeft || UIApplication.SharedApplication.StatusBarOrientation == UIInterfaceOrientation.LandscapeRight) { plotFrame = new RectangleF(0f, 0f, UIScreen.MainScreen.ApplicationFrame.Height, UIScreen.MainScreen.ApplicationFrame.Width - navigation.NavigationBar.Bounds.Height); } else { plotFrame = new RectangleF(0f, 0f, UIScreen.MainScreen.ApplicationFrame.Width, UIScreen.MainScreen.ApplicationFrame.Height - navigation.NavigationBar.Bounds.Height); } var graph_controller = new GraphViewController(exampleInfo.PlotModel, plotFrame); navigation.PushViewController(graph_controller, true); }
private void GraphView(ExampleInfo exampleInfo) { var dvc = new GraphViewController (exampleInfo); navigation.PushViewController (dvc, true); }
private void GraphView(ExampleInfo exampleInfo) { var dvc = new GraphViewController(exampleInfo); navigation.PushViewController(dvc, true); }