public void DisplayPieChart()
 {
     if (pieChartData.Count <= 0)
     {
         // Get the data from the server
         StatisticsApiManager.OnDataRetrieved = PopulatePieChartData;
         Task.Run(() => StatisticsApiManager.TotalSpendings(UserController.GetUserID, UserController.UserToken));
     }
     this.RunOnUiThread(() => plotView.Model = Statistics.pieChart(pieChartData));
 }
        public void DisplayLinearGraph()
        {
            if (linearChartData.Count <= 0)
            {
                // Get the data from the server
                StatisticsApiManager.OnDataRetrieved = PopulateLinearChartData;

                // ADD DROPDOWN TO SELECT CATEGORY LATER
                Task.Run(() => StatisticsApiManager.PriceChange(Category.BREAD_PRODUCTS));
            }
            this.RunOnUiThread(() => plotView.Model = Statistics.linearChart(linearChartData));
        }