コード例 #1
0
		public SemiDoughnut ()
		{
			SFChart chart 							= new SFChart ();
			chart.Legend.Visible 					= true;
			ChartSemiDoughnutDataSource dataModel 	= new ChartSemiDoughnutDataSource ();
			chart.DataSource 						= dataModel as SFChartDataSource;
			chart.Legend.DockPosition 				= SFChartLegendPosition.Bottom;
			chart.Title.Text 						= new NSString ("Products Growth - 2015");
			this.control = chart;
		}
コード例 #2
0
        public SemiDoughnut()
        {
            SFChart chart = new SFChart();

            chart.Legend.Visible = true;
            ChartSemiDoughnutDataSource dataModel = new ChartSemiDoughnutDataSource();

            chart.DataSource          = dataModel as SFChartDataSource;
            chart.Legend.DockPosition = SFChartLegendPosition.Bottom;
            chart.Title.Text          = new NSString("Products Growth - 2015");
            this.control = chart;
        }