public async Task <UIKit.UIView> Render(Renderer renderer)
        {
            View   = (OxyPlotView)renderer.View;
            Result = new PlotView
            {
                Model = View.OxyplotModel,
            };

            return(Result);
        }
        public async Task <FrameworkElement> Render(Renderer renderer)
        {
            View   = (OxyPlotView)renderer.View;
            Result = new PlotView
            {
                Model = View.OxyplotModel
            };

            return(Result);
        }
Example #3
0
        public async Task <Android.Views.View> Render(Renderer renderer)
        {
            try
            {
                View   = (OxyPlotView)renderer.View;
                Result = new PlotView(Renderer.Context)
                {
                    Model = View.OxyplotModel,
                };

                return(Result);
            }
            catch (Exception ex)
            {
                Device.Log.Error(ex.Message);
                return(null);
            }
        }