public FileResult WIPCosts()
        {
            var InventoryCostData = new InventoryData(InventoryCostGroup.WIP, 10);
            InventoryCostData.CollectionDataName = "WIP";
            var InventoryCostChart = new InventoryChart(InventoryChartType.Performance, InventoryCostData, "WIP");

            return (File(InventoryCostChart.chartStream.GetBuffer(), @"image/png"));
        }
        public FileResult CostByWarehouse()
        {
            var InventoryCostData = new InventoryData(InventoryCostGroup.Warehouse, 10);
            InventoryCostData.CollectionDataName = "Current";
            var InventoryCostChart = new InventoryChart(InventoryChartType.Performance, InventoryCostData, "Inventory By Warehouse");

            return (File(InventoryCostChart.chartStream.GetBuffer(), @"image/png"));
        }
        public FileResult CostByInventoryType()
        {
            var InventoryCostData = new InventoryData(InventoryCostGroup.InventoryType, 10);
            InventoryCostData.AlignSeriesDataSetsByDate();
            InventoryCostData.CollectionDataName = "Current";
            var InventoryCostChart = new InventoryChart(InventoryChartType.Performance, InventoryCostData, "Inventory By Source");

            return (File(InventoryCostChart.chartStream.GetBuffer(), @"image/png"));
        }
        public FileResult CostSourcesByWarehouse()
        {
            var InventoryCostData = new InventoryData(InventoryCostGroup.None, 1);
            InventoryCostData.CollectionDataName = "Comparison";
            InventoryCostData.PopulateSeriesDataSetsByWarehouse();
            InventoryCostData.AlignSeriesDataSetsByInventoryType();
            var InventoryCostChart = new InventoryChart(InventoryChartType.CompareByWarehouse, InventoryCostData, "Warehouse Inventory By Type");

            return (File(InventoryCostChart.chartStream.GetBuffer(), @"image/png"));
        }