//		public SeriesTypesController(TChart chart, ChartViewController chartController,UITableViewStyle style) : base(style)
		public SeriesTypesController(UITableViewStyle style) : base(style)
		{
	//		this.chart=chart;
	//		this.chartController = chartController;
			
				this.chartController =new ChartViewController();
				this.chart = chartController.chart;
		}
Beispiel #2
0
//		public SeriesTypesController(TChart chart, ChartViewController chartController,UITableViewStyle style) : base(style)
        public SeriesTypesController(UITableViewStyle style) : base(style)
        {
            //		this.chart=chart;
            //		this.chartController = chartController;

            this.chartController = new ChartViewController();
            this.chart           = chartController.chart;
        }
Beispiel #3
0
		// Allow us to set the style of the TableView
		public SettingsController(TChart chart, ChartViewController chartController ,UITableViewStyle style) : base(style)
		{
			this.chart =  chart;
			this.chartController = chartController;
		}
 public SettingsDelegate(SettingsController controller, ChartViewController chartController)
 {
     _controller      = controller;
     _chartController = chartController;
 }
Beispiel #5
0
        //public TChart chart= new Steema.TeeChart.TChart();
        //SettingsController controller;
        //ChartViewController controller;
        #region Constructors

        // The IntPtr and initWithCoder constructors are required for items that need
        // to be able to be created from a xib rather than from managed code
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            View.BackgroundColor = UIColor.Black;
            NavigationController.NavigationBar.TintColor = UIColor.Black;
            this.NavigationItem.RightBarButtonItem       = null;

            UIColor       tint   = UIColor.Black;
            UIGlassButton button = new UIGlassButton(new RectangleF(20, 265, 280, 48));

            button.SetTitle("Chart Features", UIControlState.Normal);
            button.SetTitleColor(UIColor.White, UIControlState.Normal);
            button.SetValueForKey(tint, "tintColor");
            this.View.AddSubview(button);

            button.TouchDown += delegate(object sender, EventArgs e) {
                NavigationController.SetNavigationBarHidden(false, true);
                // controller = new ChartViewController();
//				SeriesTypesController scontroller = new SeriesTypesController(controller.chart,controller,UITableViewStyle.Grouped);
                SeriesTypesController scontroller = new SeriesTypesController(UITableViewStyle.Grouped);
                NavigationController.PushViewController(scontroller, true);
            };

            UIGlassButton buttonStatistical = new UIGlassButton(new RectangleF(20, 315, 280, 48));

            buttonStatistical.SetTitle("Battery Level Demo", UIControlState.Normal);
            buttonStatistical.SetTitleColor(UIColor.White, UIControlState.Normal);
            buttonStatistical.SetValueForKey(tint, "tintColor");
            this.View.AddSubview(buttonStatistical);

            buttonStatistical.TouchDown += delegate(object sender, EventArgs e) {
                ChartViewController controller = new ChartViewController();
                NavigationController.PushViewController(controller, true);
            };

            UIGlassButton buttonAbout = new UIGlassButton(new RectangleF(20, 365, 280, 48));

            buttonAbout.SetTitle("About", UIControlState.Normal);
            buttonAbout.SetTitleColor(UIColor.White, UIControlState.Normal);
            buttonAbout.SetValueForKey(tint, "tintColor");
            this.View.AddSubview(buttonAbout);

            buttonAbout.TouchDown += delegate(object sender, EventArgs e) {
                AboutViewController controller = new AboutViewController();
                NavigationController.PushViewController(controller, true);
            };

            //float ix = (this.View.Bounds.Right /2) - 55.5f;

            var image2Rect = new RectangleF(0f, 20f, 234f, 225f);

            using (var myImage = new UIImageView(image2Rect))
            {
                myImage.Image  = UIImage.FromFile("images/Chart1.png");
                myImage.Opaque = false;

                this.View.AddSubview(myImage);
            }

            var imageRect = new RectangleF(190f, 10f, 111f, 80f);

            using (var myImage = new UIImageView(imageRect))
            {
                myImage.Image  = UIImage.FromFile("images/TeeChartNETForIPhone111x80.png");
                myImage.Opaque = false;

                this.View.AddSubview(myImage);
            }
        }
 public SeriesTypesDelegate(TypesTableController controller,ChartViewController chartController)
 {
     _controller = controller;
 }
Beispiel #7
0
 public ThemesController(TChart chart, ChartViewController chartController, UITableViewStyle style) : base(style)
 {
     this.chart           = chart;
     this.chartController = chartController;
 }
Beispiel #8
0
 public SeriesTypesDelegate(TypesTableController controller, ChartViewController chartController)
 {
     _controller = controller;
 }
        // The IntPtr and initWithCoder constructors are required for items that need
        // to be able to be created from a xib rather than from managed code
        public override void ViewDidLoad()
        {
            base.ViewDidLoad ();

              View.BackgroundColor=UIColor.Black;
              NavigationController.NavigationBar.TintColor = UIColor.Black;
              this.NavigationItem.RightBarButtonItem=null;

             	  UIButton button = new UIButton(new RectangleF(20, 265, 280, 48));

             	  button.SetTitle("Chart Features", UIControlState.Normal);
              button.BackgroundColor= UIColor.DarkGray;
              button.SetTitleColor(UIColor.White, UIControlState.Normal);
              this.View.AddSubview(button);

             	      button.TouchDown += delegate(object sender, EventArgs e) {
                NavigationController.SetNavigationBarHidden(false,true);
                TypesTableController scontroller = new TypesTableController();
                NavigationController.PushViewController(scontroller,true);
            };

             	  UIButton buttonStatistical = new UIButton(new RectangleF(20, 315, 280, 48));
             	  buttonStatistical.SetTitle("Battery Level Demo", UIControlState.Normal);
              buttonStatistical.SetTitleColor(UIColor.White, UIControlState.Normal);
              buttonStatistical.BackgroundColor= UIColor.DarkGray;
              this.View.AddSubview(buttonStatistical);

             	      buttonStatistical.TouchDown += delegate(object sender, EventArgs e) {
                ChartViewController controller = new ChartViewController();
                NavigationController.PushViewController(controller,true);
              };

              UIButton buttonAbout = new UIButton(new RectangleF(20, 365, 280, 48));
             	  buttonAbout.SetTitle("About", UIControlState.Normal);
              buttonAbout.SetTitleColor(UIColor.White, UIControlState.Normal);
              buttonAbout.BackgroundColor= UIColor.DarkGray;
              this.View.AddSubview(buttonAbout);

             	      buttonAbout.TouchDown += delegate(object sender, EventArgs e) {
                AboutViewController controller = new AboutViewController();
                NavigationController.PushViewController(controller,true);
              };

              //float ix = (this.View.Bounds.Right /2) - 55.5f;

              var image2Rect = new RectangleF(0f, 20f, 234f, 225f);
                using (var myImage = new UIImageView(image2Rect))
                {
                    myImage.Image = UIImage.FromFile("images/Chart1.png");
                    myImage.Opaque = false;

                    this.View.AddSubview(myImage);
                }

              var imageRect = new RectangleF(190f, 10f, 111f, 80f);
                using (var myImage = new UIImageView(imageRect))
                {
                    myImage.Image = UIImage.FromFile("images/TeeChartNETForIPhone111x80.png");
                    myImage.Opaque = false;

                    this.View.AddSubview(myImage);
                }
        }
Beispiel #10
0
		//private NSIndexPath _previousRow;
		
		public SeriesTypesDelegate(SeriesTypesController controller,ChartViewController chartController)
		{
			_controller = controller;
			//_previousRow = NSIndexPath.FromRowSection(Settings.SelectedIndex,0);
		}
        //private NSIndexPath _previousRow;

        public SeriesTypesDelegate(SeriesTypesController controller, ChartViewController chartController)
        {
            _controller = controller;
            //_previousRow = NSIndexPath.FromRowSection(Settings.SelectedIndex,0);
        }
Beispiel #12
0
		public SettingsDelegate(SettingsController controller, ChartViewController chartController)
		{
			_controller = controller;	
			_chartController = chartController;
		}
		public ColorPalettesController(TChart chart, ChartViewController chartController,UITableViewStyle style) : base(style)
		{
			this.chart=chart;
			this.chartController = chartController;
		}
Beispiel #14
0
 public TypesTableController() : base(UITableViewStyle.Grouped)
 {
     this.chartController = new ChartViewController();
     this.chart           = chartController.chart;
 }
 public TypesTableController()
     : base(UITableViewStyle.Grouped)
 {
     this.chartController =new ChartViewController();
     this.chart = chartController.chart;
 }