


FILL_PARENT / WRAP_CONTENT, making the progress bar stick to the top of the activity. For some reason, if we omit this, NoSaveStateFrameLayout thinks we are ViewGroup root = (ViewGroup)inflater.Inflate (_webview_with_spinner, null) Public override View OnCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)

localChartView.LoadUrl("file:///android_asset/ChartC3.html") LocalChartView.LoadDataWithBaseURL("file:///android_asset/", content, "text/html", "utf-8", null) content = content.Replace("jsondata", ",]") Using (StreamReader sr = new StreamReader(aManager.Open("ChartC3.html")))Ĭontent = content.Replace("LabelsData", "'" + string.Join("','", Labels) + "'") Ĭontent = content.Replace("ConsumedData", "'" + string.Join("','", Consumed) + "'") Ĭontent = content.Replace("ExpectedData", "'" + string.Join("','", Expected) + "'") Ĭontent = content.Replace("OverusedData", "'" + string.Join("','", Overused) + "'") LocalChartView.SetWebViewClient(new M圜hartView()) // stops request going to Web Browser LocalChartView = FindViewById (Resource.Id.LocalChartView1) String Overused = consumpModels.Select(x => x.Overused.Replace('K', ' ').Trim()).ToArray() String Expected = consumpModels.Select(x => x.Expected.Replace('K', ' ').Trim()).ToArray() String Consumed = consumpModels.Select(x => x.Consumed.Replace('K', ' ').Trim()).ToArray() Labels = consumpModels.Select(x => x.Name).ToArray() Labels = consumpModels.Select(x => x.Name.Split('-')).ToArray() String r = Array.ConvertAll(consumpModels.Select(x => new ) Private void SetConsumptionBarChartWebView(List consumpModels)
