void LoadDoughnutChart(string doughnutChartName) { this.Title = doughnutChartName; doughnutChartFrame = new CGRect(this.View.Bounds.X, this.View.Bounds.Y + 66, this.View.Bounds.Width, this.View.Bounds.Height - 66 - 56); doughnut = new DoughnutChartView (); doughnut.control.Frame = doughnutChartFrame; this.View.Add (doughnut.control); }
void LoadDoughnutChart(string doughnutChartName) { doughnutChartFrame = new CGRect(this.View.Bounds.X, this.View.Bounds.Y+80, this.View.Bounds.Width, this.View.Bounds.Height - 116); doughnut = new DoughnutChartView (chartTitle); doughnut.control.Frame = doughnutChartFrame; this.View.Add (doughnut.control); }