/// <summary> /// Method Name : DrawChart /// Author : Hiren Patel /// Creation Date : 29 Dec 2017 /// Purpose : Draw Move chart /// Revision : /// </summary> /// <param name="statusCode">statusCode.</param> public void DrawChart(string statusCode) { var plotView = new PlotView { Model = PopulateChart(statusCode), Frame = new CoreGraphics.CGRect(new CoreGraphics.CGPoint(0, 0), new CoreGraphics.CGSize(viewChart.Frame.Size)), BackgroundColor = UIColorExtensions.FromHexString(null, "#efeff5") }; viewChart.AddSubview(plotView); viewChart.AddSubview(imgMoveStatus); plotView.AddSubview(lblMoveStatus); plotView.AddSubview(imgChartTruck); }