public override void ViewDidLoad()
        {
            base.ViewDidLoad();
            IEnumerable <PieChartData> pieData = PieChartData.DemoData();

            pieChart.Binding     = "Value";
            pieChart.BindingName = "Name";
            pieChart.ItemsSource = pieData;
        }
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();
            IEnumerable <PieChartData> pieData = PieChartData.DemoData();

            flexPie.Binding           = "Value";
            flexPie.BindingName       = "Name";
            flexPie.ItemsSource       = pieData;
            flexPie.Tooltip.IsVisible = true;
        }
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();
            legendModeSelector.SelectedSegment = 3;
            IEnumerable <PieChartData> pieData = PieChartData.DemoData();

            flexPie.Binding           = "Value";
            flexPie.BindingName       = "Name";
            flexPie.ItemsSource       = pieData;
            flexPie.Tooltip.IsVisible = true;
            flexPie.Legend.Position   = Xuni.iOS.ChartCore.Position.Right;
            flexPie.Header            = headerField.Text;
            flexPie.Footer            = footerField.Text;
        }
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();


            pickerView.Model = new ThemeModel(this);
            pickerView.ShowSelectionIndicator = true;
            pickerView.Hidden = false;


            IEnumerable <PieChartData> pieData = PieChartData.DemoData();

            pieChart.Binding           = @"Value";
            pieChart.BindingName       = @"Name";
            pieChart.ItemsSource       = pieData;
            pieChart.Tooltip.IsVisible = true;
        }
Example #5
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();
            IEnumerable <PieChartData> pieData = PieChartData.DemoData();

            pieChart.Binding           = "Value";
            pieChart.BindingName       = "Name";
            pieChart.ItemsSource       = pieData;
            pieChart.Tooltip.IsVisible = true;


            donutChart.Binding           = "Value";
            donutChart.BindingName       = "Name";
            donutChart.ItemsSource       = pieData;
            donutChart.Tooltip.IsVisible = true;
            donutChart.InnerRadius       = 0.6;
        }
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            positionSelector.SelectedSegment = 4;

            IEnumerable <PieChartData> pieData = PieChartData.DemoData();

            offsetLabel.Text = stepper.Value.ToString();

            flexPie.Binding              = "Value";
            flexPie.BindingName          = "Name";
            flexPie.ItemsSource          = pieData;
            flexPie.Tooltip.IsVisible    = true;
            flexPie.SelectedItemOffset   = stepper.Value;
            flexPie.SelectedItemPosition = Xuni.iOS.ChartCore.Position.Bottom;
            flexPie.IsAnimated           = false;
        }