public static List <GraphData> GraphWInvo(string selectedText1, string selectedText2, string selectedText3, string frmdt, string todt)
        {
            DispatchDataOperation ddo = new DispatchDataOperation();
            DataTable             dt  = new DataTable();

            dt = ddo.GraphWareHouseInvoice(selectedText1, selectedText2, selectedText3, frmdt, todt);
            List <GraphData> chartData = new List <GraphData>();

            foreach (DataRow dr in dt.Rows)
            {
                chartData.Add(new GraphData
                {
                    w = Convert.ToString(dr["WareHouseName"]).Remove(10),
                    x = (Convert.ToInt32(dr["total_invoice"]))
                });
            }
            return(chartData);
        }