void RenderGraphs() { try { List <List <KeyValuePair <string, int> > > list = new List <List <KeyValuePair <string, int> > >(); list.Add(Charting.bloodTransactionData); list.Add(Charting.bloodTransactionData2); Charting.SetBarChart(bloodTransactionBar, list); CalanderReg(); CalanderEvent(); CalanderTrans(); PieBloodByGroup(); PieAllDonorHBCounts(); BarDonorWeightDistribution(); BarChartTransaction(); BarChartVolumeOfBloodInventory(); } catch (ValidationException ex) { MessageHandler.ShowErrorMessage(ex.Message); } catch (ConnectedDalException ex) { MessageHandler.ShowErrorMessage(ex.Message); } catch (Exception ex) { MessageHandler.ShowErrorMessage(ex.Message); } }