private void PopulationTable()
        {
            Random r           = new Random();
            var    productList = new ObservableCollection <ProductInfoModel>();

            for (int i = 0; i <= 7; i++)
            {
                ProductInfoModel productInfo = new ProductInfoModel();
                productInfo.ProductName = productName[12 - i];
                productInfo.Y2010       = r.Next(0, 100);
                productInfo.Y2011       = r.Next(0, 100);
                productInfo.Y2012       = r.Next(0, 100);
                productInfo.Y2013       = r.Next(0, 100);
                productInfo.Y2014       = r.Next(0, 100);
                productInfo.Y2015       = r.Next(0, 100);
                productList.Add(productInfo);
            }
            ProductList = productList;
        }
        private void PopulateData()
        {
            Random r = new Random();

            for (int i = 0; i < 10; i++)
            {
                ProductInfoModel productInfo = new ProductInfoModel();
                productInfo.ProductName = productName[i];
                productInfo.Y2007       = r.Next(0, 51);
                productInfo.Y2008       = r.Next(0, 51);
                productInfo.Y2009       = r.Next(0, 51);
                productInfo.Y2010       = r.Next(0, 51);
                productInfo.Y2011       = r.Next(0, 51);
                productInfo.Y2012       = r.Next(0, 51);
                productInfo.Y2013       = r.Next(0, 51);
                productInfo.Y2014       = r.Next(0, 51);
                productInfo.Y2015       = r.Next(0, 51);
                productInfo.Y2016       = r.Next(0, 51);
                ProductList.Add(productInfo);
            }
        }